Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.61 KB | None | 0 0
  1. main-container{
  2.     max-width: 1200px;
  3.     margin:0 auto;
  4.     width:1200px;
  5.  
  6. }
  7.  
  8. header .main-container{
  9.     padding: 0 60px;
  10.     height:65px;
  11. }
  12. header{
  13.     background-color: #000;
  14. }
  15. header p{
  16. display: block;
  17. float: left;
  18. color: #fff;
  19. text-transform: uppercase;
  20. line-height: 63px;
  21. font-weight: 700;
  22.  
  23. }
  24. .logo{
  25.     margin-left: -20px;
  26. }
  27. header p span{
  28.     color: #27c7ab;
  29.  
  30. }
  31.  
  32. header nav {
  33. float: right;
  34. }
  35.  
  36. header nav .drop{
  37.     position: relative;
  38. }
  39.  
  40. .dropdown{
  41.     position: absolute;
  42.     width: 100px;
  43.     height: 150px;
  44.     padding: 10px;
  45.     top:50px;
  46.     display: none;
  47.     background-color: #000;
  48.     left: -8px;
  49.     z-index: 1;
  50.  
  51. }
  52. .dropdwon_div2{
  53.     position: absolute;
  54.     left: 0;
  55.     width: 100px;
  56.     height: 37px;
  57.     background-color: #fff;
  58.     z-index: 0;
  59.     display: none;
  60.     top: -20px
  61. }
  62.  
  63. .li{
  64.     color: #fff;
  65.     font-size: 10px;
  66.     list-style-type: none;
  67. }
  68. .drop:hover.dropdown{
  69. display: block
  70. }
  71.  
  72. .dropdown_div{
  73.     position: absolute;
  74.     left: 35px;
  75.     width: 18px;
  76.     height: 18px;
  77.     background-color: #000;
  78.     top: -8px;
  79.     clear: both;
  80. transform: rotate(40deg);
  81.  
  82.  
  83. }
  84. header nav ul li {
  85.     display:inline-block;
  86.     line-height: 50px;
  87.     text-transform: uppercase;
  88.     font-weight: 700;
  89.     list-style-type: none;
  90.     text-decoration: none;
  91.     color:#fff;
  92.     margin-left: 25px;
  93. }
  94. header nav ul li a:link, header nav ul li a:visited{
  95.     color: #fff;
  96.     text-decoration: none;
  97. }
  98.  
  99. header nav ul li a:hover , header nav ul li a:active{
  100.     text-decoration: none;
  101.     list-style-type: none;
  102.     color: #27c7ab;
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement