Skip to content

Instantly share code, notes, and snippets.

@wemakeweb
Created January 26, 2015 13:08
Show Gist options
  • Save wemakeweb/6a68ad61fe8f5055f8c5 to your computer and use it in GitHub Desktop.
Save wemakeweb/6a68ad61fe8f5055f8c5 to your computer and use it in GitHub Desktop.
papa.html
<!DOCTYPE html>
<html>
<head lang="de">
<meta charset="UTF-8">
<title>Modernes Webdesign</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.js"></script>
<![endif]-->
<!-- style -->
<!--<link rel="stylesheet" href="css/normalize.css">-->
<style>
/******BoxenRaster************/
.box1,.box2, .box3,.box4,.box5,.box6,.box7,.box8,.box9{
padding-bottom:100%;
height:0;
}
.box1:nth-of-type(1) {background: red;}
.box2:nth-of-type(2) {background: yellow;}
.box3:nth-of-type(3) {background: lime;}
.box4:nth-of-type(4) {background: aqua;}
.box5:nth-of-type(5) {background: purple;}
.box6:nth-of-type(6) {background: silver;}
.box7:nth-of-type(7) {background: green;}
.box8:nth-of-type(8) {background: blue;}
.box9:nth-of-type(9) {background: tomato;}
@media screen and (min-width:600px) {
.box1,.box2, .box3,.box4,.box5,.box6,.box7,.box8,.box9{
width:33.333%;
padding-bottom:33.333%;
float:left;
}
.box2:nth-of-type(2) {
width:66.666%;
padding-bottom:66.666%;
float:right;
}
.box7:nth-of-type(7) {
width:66.666%;
padding-bottom:66.666%;
}
}
body {
font-family:Arial;
color:#222;
}
</style>
</head>
<body>
<div class="box1">
<p>Responsive Webdesign für Hotels</p>
<p>entspechendes Layout und Zielgruppen orientiert, auf allen Browsern darstellbar.</p>
<p>alles aus einer Hand.</p>
</div><!--box1-->
<div class="box2">
<h2>2</h2>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, </p>
</div><!--box2-->
<div class="box3">
3
</div>
<div class="box4">
4
<p>nnnnnnnn</p>
</div>
<div class="box5">
5
</div>
<div class="box6">
6
</div>
<div class="box7">
7
</div>
<div class="box8">
8
</div>
<div class="box9">
9
</div>
<li><strong class="copyright"></strong></li>
<!-- Bootstrap-JavaScript -->
<script src="js/plugin.js"></script>
<!-- Google -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-44026728-1', 'work4web.eu');
ga('send', 'pageview');
</script>
<!-- Google -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment