Created
October 15, 2010 16:04
-
-
Save lobodin/628442 to your computer and use it in GitHub Desktop.
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
ul.menu a { | |
border-bottom: 1px solid #888; | |
} | |
ul.menu > li:last-child { | |
border-right: 1px solid #888; | |
} | |
ul.menu > li { | |
float: left; | |
} |
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
body, ul.menu ul li { | |
background: #E3EEFF; | |
} | |
ul { | |
list-style: none; | |
padding: 0; | |
margin: 0; | |
font-family: sans-serif; | |
} | |
ul.menu li.separator { | |
border-bottom: 1px solid #E2E2E2; | |
background: white; | |
} | |
ul.menu li { | |
position: relative; | |
white-space: nowrap; | |
} | |
ul.menu a { | |
display: block; | |
padding: 3px 10px; | |
border-top: 1px solid #888; | |
border-left: 1px solid #888; | |
background-color: #E2E2E2; | |
text-decoration: none; | |
color: black; | |
} | |
ul.menu li a:hover, ul.menu li:hover > a { | |
background: #4F61F6; | |
color: white; | |
} | |
ul.menu ul { | |
position: absolute; | |
display: none; | |
-moz-box-shadow: 0 0 3px #888; | |
-webkit-box-shadow: 0 0 3px #888; | |
box-shadow: 0 0 3px #888; | |
} | |
ul.menu ul a { | |
border: none; | |
padding-left: 20px; | |
padding-right: 20px; | |
background-color: white; | |
} | |
ul.menu > li:hover > ul, ul.menu ul li:hover ul { | |
display: block; | |
} | |
ul.menu ul ul { | |
display: none; | |
position: absolute; | |
left: 100%; | |
top: 0; | |
z-index: 100; | |
} |
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
ul.menu { | |
float: left; | |
} | |
ul.menu a { | |
border-right: 1px solid #888; | |
} | |
ul.menu > li:last-child { | |
border-bottom: 1px solid #888; | |
} | |
ul.menu ul { | |
left: 100%; | |
top: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment