Skip to content

Instantly share code, notes, and snippets.

@kianoshp
Created May 16, 2012 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kianoshp/2710553 to your computer and use it in GitHub Desktop.
Save kianoshp/2710553 to your computer and use it in GitHub Desktop.
Follow the DOM CSS
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