Team:Heidelberg/Templates/teampicture
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) |
|||
Line 2: | Line 2: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | .</html>{{ | + | .</html>{{{2}}}<html>{ |
background-image: url("</html>{{#tag:nowiki|{{filepath:{{{1}}}}}}}<html>"); | background-image: url("</html>{{#tag:nowiki|{{filepath:{{{1}}}}}}}<html>"); | ||
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
- | width: | + | width:150px; |
height:150px; | height:150px; | ||
- | background-size: | + | background-size:300px 150px; |
+ | background-position-left:0px; | ||
float:left; | float:left; | ||
} | } | ||
- | .</html>{{ | + | .</html>{{{2}}}<html>:hover{ |
- | background- | + | background-position-left: 150px; |
} | } | ||
.team-profile p:last-child { | .team-profile p:last-child { | ||
Line 18: | Line 19: | ||
</style> | </style> | ||
- | <div class="Persopic </html>{{ | + | <div class="Persopic </html>{{{2}}}<html>"></div> |
</html> | </html> |
Revision as of 17:09, 9 September 2013