Created
May 16, 2012 14:01
-
-
Save kianoshp/2710553 to your computer and use it in GitHub Desktop.
Follow the DOM CSS
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
header { | |
height: 88px; | |
} | |
header section { | |
position: relative; | |
color: #fff; | |
} | |
aside { | |
float: right; | |
width: 330px; | |
color: #fff; | |
} | |
nav { | |
margin: 0 345px 20px 0; | |
min-width: 800px; | |
} | |
nav ul { | |
height: 86px; | |
width: 670px; | |
margin: auto; | |
} | |
nav ul li { | |
float: left; | |
height: 64px; | |
width: 64px; | |
background: #fc0; | |
margin: 10px 0 10px 10px; | |
} | |
nav ul li img { | |
width: 64px; | |
height: 64px; | |
} | |
article { | |
background: white url("../img1.png") repeat-y; | |
border-left: none; | |
min-height: 600px; | |
margin: 0 345px 0 0; | |
position: relative; | |
min-height: 600px; | |
border: 1px solid #9a9b9b; | |
-moz-box-shadow: 1px 0 10px 1px black; | |
-webkit-box-shadow: 1px 0 10px 1px black; | |
box-shadow: 1px 0 10px 1px black; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment