Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #menu{
- width: 720px;
- display: block;
- }
- #menu > ul{
- display: inline-block;
- width: 100%;
- }
- ul{
- list-style: none;
- }
- #menu>ul>li{
- display: inline-block;
- }
- ul>li>ul{
- position: absolute;
- left: auto;
- bottom: auto;
- display: table;
- margin-top: auto;
- padding: 5px,5px;
- background: red;
- }
- a{
- background: red;
- color: white;
- text-decoration: none;
- }
- a:hover, .current{
- background: white;
- color: red;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement