first commit
parent
86d89b4635
commit
fb7dcf3221
|
@ -0,0 +1,29 @@
|
||||||
|
body{
|
||||||
|
font-family: helvetica, Arial, sans-serif;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
.wrapper{
|
||||||
|
max-width: 960px;
|
||||||
|
margin:0 auto;
|
||||||
|
}
|
||||||
|
header, footer{
|
||||||
|
height: 160px;
|
||||||
|
background: silver;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
nav{
|
||||||
|
height: 30px;
|
||||||
|
background: tomato;
|
||||||
|
}
|
||||||
|
#hauptbereich, #seitenbereich{
|
||||||
|
min-height: 500px;
|
||||||
|
background: #acacac;
|
||||||
|
}
|
||||||
|
#hauptbereich{
|
||||||
|
width: 60%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
#seitenbereich{
|
||||||
|
width: 30%;
|
||||||
|
float: right;
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="de">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Strukturieren / Gruppieren</title>
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<header>
|
||||||
|
<p>kopfbereich</p>
|
||||||
|
</header>
|
||||||
|
<nav>
|
||||||
|
<p>navigation</p>
|
||||||
|
</nav>
|
||||||
|
<div id="hauptbereich">
|
||||||
|
<p>da ist der Hauptbereich</p>
|
||||||
|
</div>
|
||||||
|
<div id="seitenbereich">
|
||||||
|
<p>das ist der seitenbereich</p>
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<p>Hier steht der footer</p>
|
||||||
|
</footer>
|
||||||
|
</div> <!--Schliessender Wrapper-->
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
Loading…
Reference in New Issue