CSS/gifu/tab

From 2014.igem.org

(Difference between revisions)
Line 17: Line 17:
.tab-protocol-white
.tab-protocol-white
-
{background-image:url(https://static.igem.org/mediawiki/2014/5/53/Tab_white_protocol.png);
+
{background:url(https://static.igem.org/mediawiki/2014/5/53/Tab_white_protocol.png) no-repeat;
-
background-repeat:no-repeat;
+
float:left;
float:left;
margin-right:5px;
margin-right:5px;
-
 
text-decolation:none;
text-decolation:none;
display:block;}
display:block;}
.tab-calender-gray
.tab-calender-gray
-
{background-image:url(https://static.igem.org/mediawiki/2014/2/23/Tab_gray_calender.png);
+
{background:url(https://static.igem.org/mediawiki/2014/2/23/Tab_gray_calender.png) no-repeat top;
-
background-repeat:no-repeat;
+
-
background-position:top;
+
display: block;
display: block;
}
}
.tab-calender-gray:hover
.tab-calender-gray:hover
-
{background-image:url(https://static.igem.org/mediawiki/2014/2/23/Tab_gray_calender.png);
+
{background:url(https://static.igem.org/mediawiki/2014/2/23/Tab_gray_calender.png) no-repeat bottom;}
-
background-repeat:no-repeat;
+
-
background-posotion:bottom;}
+

Revision as of 02:47, 3 September 2014