Advertisement
itskrystalized

Dropdown menu 001# - CSS

Apr 17th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.30 KB | None | 0 0
  1. .menu { /* maga a menüsáv */
  2. font-family: Century Gothic, sans-serif;
  3. background-color: transparent;
  4. color: #000000;
  5. padding: 16px;
  6. font-size: 12px;
  7. font-weight: bold;
  8. text-transform: uppercase;
  9. margin: 0 auto; /* középen helyezkedik el */
  10. text-align: center;
  11. border: 0px !important;
  12. }
  13.  
  14. .menu a:link, .menu a:visited { /* menü linkjei */
  15. font-family: Century Gothic, sans-serif;
  16. background-color: transparent;
  17. color: #000000;
  18. padding: 16px;
  19. font-size: 12px;
  20. text-transform: uppercase;
  21. }
  22.  
  23. .menu a:hover, .menu a:active { /* menü linkjei ha rávisszük az egeret */
  24. font-family: Century Gothic, sans-serif;
  25. background-color: transparent;
  26. color: #f3a4aa;
  27. padding: 16px;
  28. font-size: 12px;
  29. text-transform: uppercase;
  30. cursor: pointer;
  31. }
  32.  
  33. .leugrobutton { /* az a link amire rávisszük az egeret megjelennek az alárendelt linkek */
  34. font-family: Century Gothic, sans-serif;
  35. background-color: transparent;
  36. color: #e5b3b3;
  37. padding: 16px;
  38. font-size: 12px;
  39. font-weight: bold;
  40. text-transform: uppercase;
  41. cursor: pointer;
  42. margin: 0 auto;
  43. border: 0px !important;
  44. }
  45.  
  46. .leugro {
  47. position: relative;
  48. display: inline-block;
  49. margin: 0 auto;
  50. }
  51.  
  52. .leugro-tartalom { /* a lenyíló doboz kinézete */
  53. display: none;
  54. position: absolute;
  55. background-color: #f2f2f2;
  56. min-width: 160px;
  57. transition: 0.5s ease;
  58. -o-transition: 0.5s ease;
  59. -moz-transition: 0.5s ease;
  60. -webkit-transition: 0.5s ease;
  61. }
  62.  
  63. .leugro-tartalom a:link, .leugro-tartalom a:visited { /* a lenyíló doboz linkjeinek kinézete */
  64. font-family: Century Gothic, sans-serif;
  65. font-size: 12px;
  66. font-weight: bold;
  67. color: #000000;
  68. padding: 12px 16px;
  69. text-decoration: none;
  70. display: block;
  71. border-bottom: 2px solid #eeeeee;
  72. text-transform: none !important;
  73. text-align: left !important;
  74. }
  75.  
  76. .leugro-tartalom a:hover, .leugro-tartalom a:active { /* a lenyíló doboz linkjeinek kinézete ha rávisszük az egeret */
  77. font-family: Century Gothic, sans-serif;
  78. font-size: 12px;
  79. font-weight: bold;
  80. color: #fbb4b6;
  81. padding: 12px 16px;
  82. text-decoration: none;
  83. display: block;
  84. border-bottom: 2px solid #eeeeee;
  85. text-transform: none !important;
  86. text-align: left !important;
  87. background-color: #e2e2e2 !important;
  88. }
  89.  
  90. .leugro:hover .leugro-tartalom {
  91. display: block;
  92. z-index: 100;
  93. }
  94.  
  95. .leugro:hover .leugrobutton {
  96. background-color: transparent;
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement