Template:Uppsala-SwedenTemplatetest

From 2011.igem.org

(Difference between revisions)
Line 191: Line 191:
 +
<style type="text/css">
 +
.rollover a {
 +
    background: url(https://static.igem.org/mediawiki/2011/b/ba/Eugenia-UU.jpg) no-repeat 0px 0px;
 +
    width: 400px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover a:hover {
 +
    background-position: -200px;
 +
}
 +
</style>
 +
<div class="rollover"><a href="#"></a></div>
</body>
</body>
</html>
</html>

Revision as of 14:49, 8 September 2011

css opac