Template:Team:UC Davis/NotebookTemplate
From 2014.igem.org
(Difference between revisions)
Line 30: | Line 30: | ||
margin-top:10px; | margin-top:10px; | ||
position:relative; | position:relative; | ||
- | |||
background-size: 316px 43px; | background-size: 316px 43px; | ||
} | } | ||
Line 40: | Line 39: | ||
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); | ||
- | opacity:0; | + | opacity:.65; |
+ | z-index:-1; | ||
+ | } | ||
+ | .switchbox a | ||
+ | position:absolute; | ||
+ | top:0; | ||
+ | left:0; | ||
+ | width 316px; | ||
+ | height:43px; | ||
+ | background:url(https://static.igem.org/mediawiki/2014/5/5d/UCD_2014_Potent_notebook_click.jpg); | ||
+ | opacity:.0; | ||
-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 a:hover { | |
- | .switchbox | + | |
opacity:1; | opacity:1; | ||
} | } |
Revision as of 18:37, 23 September 2014