WIP: Aufgabe 12 Box/CSS

branch-francesca
Francesca Bläse 2026-01-22 15:58:43 +00:00
parent 5613f49646
commit 382047f595
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8>
<title>Box-Modell Übung</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="box">Box-Modell</div>
</body>
</html>

View File

@ -0,0 +1,15 @@
body {
background-color: black;
font-family: sans-serif;
margin: 0;
}
.box {
width: 250px;
background-color: #71F5D1;
padding: 20px 5px 25px 5px;
margin: 100px auto;
text-align: center;
font-size: 2em;
font-weight: bold;
}