Template:Team:UC Davis/NotebookTemplate
From 2014.igem.org
(Difference between revisions)
Line 29: | Line 29: | ||
float:left; | float:left; | ||
margin-top:10px; | margin-top:10px; | ||
- | position:relative; | + | position:relative; |
+ | background:url(https://static.igem.org/mediawiki/2014/5/5d/UCD_2014_Potent_notebook_click.jpg); | ||
background-size: 316px 43px; | background-size: 316px 43px; | ||
} | } | ||
.switchbox span { | .switchbox span { | ||
- | position: | + | position:absolute; |
top:0; | top:0; | ||
left:0; | left:0; | ||
Line 39: | Line 40: | ||
height:43px; | height:43px; | ||
background:url(https://static.igem.org/mediawiki/2014/5/5d/UCD_2014_Potent_notebook_click.jpg); | background:url(https://static.igem.org/mediawiki/2014/5/5d/UCD_2014_Potent_notebook_click.jpg); | ||
- | + | background-size: 316px 43px; | |
- | + | opacity:0; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | opacity: | + | |
-webkit-transition: opacity 0.5s; | -webkit-transition: opacity 0.5s; | ||
-moz-transition: opacity 0.5s; | -moz-transition: opacity 0.5s; | ||
-o-transition: opacity 0.5s; | -o-transition: opacity 0.5s; | ||
} | } | ||
- | .switchbox | + | .switchbox span:hover { |
opacity:1; | opacity:1; | ||
} | } |
Revision as of 19:01, 23 September 2014