Created
October 10, 2017 22:49
-
-
Save desbest/9e4ebf3bd21adc4d2622c2792a5e4e1f to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#container | |
{ | |
margin: 0 auto; | |
width: 600px; | |
background:#fff; | |
} | |
#header | |
{ | |
background:#ccc; | |
padding: 20px; | |
} | |
#header h1 { margin: 0; } | |
#navigation | |
{ | |
float: left; | |
width: 600px; | |
background:#333; | |
} | |
#navigation ul | |
{ | |
margin: 0; | |
padding: 0; | |
} | |
#navigation ul li | |
{ | |
list-style-type: none; | |
display: inline; | |
} | |
#navigation li a | |
{ | |
display: block; | |
float: left; | |
padding: 5px 10px; | |
color:#fff; | |
text-decoration: none; | |
border-right: 1px solid#fff; | |
} | |
#navigation li a:hover { background:#383; } | |
#content | |
{ | |
clear: left; | |
padding: 20px; | |
} | |
#content h2 | |
{ | |
color:#000; | |
font-size: 160%; | |
margin: 0 0 .5em; | |
} | |
#footer | |
{ | |
background:#ccc; | |
text-align: right; | |
padding: 20px; | |
height: 1%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container"> | |
<div id="header"> | |
<h1> | |
Site name | |
</h1> | |
</div> | |
<div id="navigation"> | |
<ul> | |
<li><a href="#">Home</a></li> | |
<li><a href="#">About</a></li> | |
<li><a href="#">Services</a></li> | |
<li><a href="#">Contact us</a></li> | |
</ul> | |
</div> | |
<div id="content"> | |
<h2> | |
Page heading | |
</h2> | |
<p> | |
Lorem ipsum dolor sit amet consect etuer adipi scing elit sed diam nonummy nibh euismod tinunt ut laoreet dolore magna aliquam erat volut. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. | |
</p> | |
<p> | |
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. | |
</p> | |
<p> | |
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. | |
</p> | |
</div> | |
<div id="footer"> | |
Copyright © Site name, 20XX | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment