forked from WEB-IMB-WS2526/lab-development-imb
WIP: Aufgabe 12 Box/CSS
parent
5613f49646
commit
382047f595
|
|
@ -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>
|
||||
|
|
@ -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;
|
||||
}
|
||||
Loading…
Reference in New Issue