Team:ZJU-China/CSS/Tabs.css
From 2014.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
} | } | ||
ul.tabs a { | ul.tabs a { | ||
- | padding: | + | padding: 10px 0px; |
width:100%; | width:100%; | ||
display: inline-block; | display: inline-block; |
Revision as of 17:29, 15 October 2014
div.tabs { } ul.tabs {
margin:0; padding:0;
} ul.tabs li {
list-style: none; display: inline-block; border: none; margin: 0; width: 30%; font-family: Arial; font-size: 18pt; text-align: center;
} ul.tabs a {
padding: 10px 0px; width:100%; display: inline-block; background: #666; color: #fff; text-decoration: none;
} ul.tabs a.active {
background: #fff; color: #000; box-shadow: 2px -3px 2px gray;
} div.tabs {
background: white; margin:0; padding:10px;
}