Created
April 17, 2015 20:44
-
-
Save isramv/31e14f66d5db6f433e6e to your computer and use it in GitHub Desktop.
Drop down menu squeleton SASS - Drupal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#block-system-main-menu { | |
ul.menu { | |
li { | |
display: inline-block; | |
padding-bottom: 9px; | |
ul { | |
display: none; | |
padding-left: 0; | |
background: #ffffff; | |
border: 1px solid #000000; | |
li:before{ | |
content:''; | |
border-left:7px solid transparent; | |
border-right:7px solid transparent; | |
border-bottom:7px solid transparent; | |
border-bottom-color:#2a2a2f; | |
position:absolute; | |
top:-6px; | |
left:30px; | |
z-index:20000 | |
} | |
} | |
} | |
li:hover { | |
ul { | |
display: block; | |
position:fixed; | |
margin-top: 8px; | |
margin-bottom: 0; | |
li { | |
display: inherit; | |
padding: 5px; | |
} | |
} | |
} | |
} | |
a { | |
text-decoration: none; | |
columns: black; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment