Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ol {
- list-style-type: none;
- padding: 0;
- margin: 0;
- font-size: 18px;
- height: 2em;
- line-height: 2em;
- text-align: center;
- }
- }
- ol>li {
- float: left;
- background-color: antiquewhite;
- width: 150px;
- }
- ol a {
- display: block;
- color: #000;
- text-decoration: none;
- padding: 0 5px;
- }
- ol>li>a:hover {
- color: #09C;
- }
- ol>li:hover {
- background-color: #EEE;
- }
- ol>li>ul {
- list-style-type: none;
- padding: 0;
- margin: 0;
- }
- ol>li {
- float: left;
- width: 150px;
- margin-left: 1px;
- }
- ol>li:first-child {
- margin-left: 0;
- }
- ol>li>ul>li>a {
- border-top: 1px solid #FFF;
- }
- ol>li>ul {
- display: none;
- }
- ol>li:hover>ul {
- display: block;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement