Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. * {
  2. margin:0;
  3. padding:0;
  4. }
  5. body {
  6. background-color:silver;
  7. }
  8. nav {
  9. margin-top:60px;
  10. margin-left:60px;
  11. }
  12.  
  13. nav img {
  14. position: relative;
  15. top: 10px;
  16. width:30px;
  17. height:30px;
  18. margin-right: 5px;}
  19.  
  20. nav ul {
  21. list-style:none;
  22. }
  23. nav ul li {
  24. width:130px;
  25. height:50px;
  26. margin-top: 5px;
  27.  
  28. }
  29. nav ul li a {
  30. text-decoration:none;
  31. color:#fff;
  32. background-color:#1bbc9b;
  33. display:block;
  34. width:130px;
  35. height:50px;
  36. line-height:50px;
  37. border-radius:5px;
  38. padding-left:5px;
  39. }
  40.  
  41. .cf:before,
  42. .cf:after {
  43. content: " "; /* 1 */
  44. display: table; /* 2 */
  45. }
  46.  
  47. .cf:after {
  48. clear: both;
  49. }
  50.  
  51. /**
  52. * For IE 6/7 only
  53. * Include this rule to trigger hasLayout and contain floats.
  54. */
  55. .cf {
  56. *zoom: 1;
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement