Team:ZJU-China/CSS/Tabs.css

From 2014.igem.org

Revision as of 19:40, 17 October 2014 by Tzuyu (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

div.tabs { } ul.tabs {

   margin:0;
   padding:0;

} ul.tabs li {

   list-style: none;
   display: inline-block;
   border: none;
   width: 15%;
   text-align: center;

} ul.tabs a {

   padding: 5px 0px;
   width:100%;
   display: inline-block;
   background: #666;
   color: #fff;
   text-decoration: none;

} ul.tabs a.active {

   background: #fff;
   color: #000;
   box-shadow: 2px -2px 2px gray;

} div.tabs {

   background: white;
   margin:0;
   padding:10px;
   overflow: auto;

}