Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * {
- margin:0;
- padding:0;
- }
- body {
- background-color:silver;
- }
- nav {
- margin-top:60px;
- margin-left:60px;
- }
- nav img {
- position: relative;
- top: 10px;
- width:30px;
- height:30px;
- margin-right: 5px;}
- nav ul {
- list-style:none;
- }
- nav ul li {
- width:130px;
- height:50px;
- margin-top: 5px;
- }
- nav ul li a {
- text-decoration:none;
- color:#fff;
- background-color:#1bbc9b;
- display:block;
- width:130px;
- height:50px;
- line-height:50px;
- border-radius:5px;
- padding-left:5px;
- }
- .cf:before,
- .cf:after {
- content: " "; /* 1 */
- display: table; /* 2 */
- }
- .cf:after {
- clear: both;
- }
- /**
- * For IE 6/7 only
- * Include this rule to trigger hasLayout and contain floats.
- */
- .cf {
- *zoom: 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement