Line 25: | Line 25: | ||
/*Instead of height we will use padding*/ | /*Instead of height we will use padding*/ | ||
padding-top: 320px; /*That helps bring the labels down*/ | padding-top: 320px; /*That helps bring the labels down*/ | ||
− | |||
− | |||
/*Lets add a shadow*/ | /*Lets add a shadow*/ | ||
Line 224: | Line 222: | ||
--> | --> | ||
<div class="slider"> | <div class="slider"> | ||
− | <input type="radio" name="slide_switch" id="id1"/> | + | <input type="radio" name="slide_switch" id="id1" checked="checked"/> |
<label for="id1"> | <label for="id1"> | ||
− | <img src=" | + | <img src="https://static.igem.org/mediawiki/2017/b/b8/T--Munich--Review2017_5.jpeg" width="100"/> |
</label> | </label> | ||
− | <img src=" | + | <img src="https://static.igem.org/mediawiki/2017/b/b8/T--Munich--Review2017_5.jpeg" width= 900/> |
<!--Lets show the second image by default on page load--> | <!--Lets show the second image by default on page load--> | ||
− | <input type="radio" name="slide_switch" id="id2 | + | <input type="radio" name="slide_switch" id="id2" /> |
<label for="id2"> | <label for="id2"> | ||
<img src="http://thecodeplayer.com/uploads/media/40Ly3VB.jpg" width="100"/> | <img src="http://thecodeplayer.com/uploads/media/40Ly3VB.jpg" width="100"/> |
Revision as of 22:17, 14 December 2017