Created
January 9, 2013 17:08
-
-
Save sassinack/4494869 to your computer and use it in GitHub Desktop.
CSS & HTML: Tab styled list
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
.menu { | |
display: block; | |
clear: both; | |
position: absolute; | |
font-size: 12px; | |
} | |
.menu li { | |
float: left; | |
border: 1px solid #DDD; | |
padding: 3px 0 2px; | |
margin-right: 2px; | |
border-top-left-radius: 4px; | |
border-top-right-radius: 4px; | |
-moz-border-radius-topright: 4px; | |
-moz-border-radius-topleft: 4px; | |
list-style: none; | |
} | |
.menu li a { | |
color: #40424e; | |
text-shadow: 1px 1px #fff; | |
padding: 5px 7px; | |
background-color: #e4e5e2; | |
background-image: url(images/tab-bg.jpg); | |
background-repeat: repeat-x; | |
z-index: 99999; | |
position: relative; | |
height: 35px; | |
border-top-left-radius: 4px; | |
border-top-right-radius: 4px; | |
-moz-border-radius-topright: 4px; | |
-moz-border-radius-topleft: 4px;} | |
.menu li a:hover { | |
border-bottom: none; | |
background-image: url(images/bg.jpg); | |
padding-bottom: 10px; | |
z-index: 9999999; | |
text-decoration: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment