Difference between revisions of "Team:IIT Delhi/home"
Line 3: | Line 3: | ||
<html> | <html> | ||
− | + | <style> | |
Line 13: | Line 13: | ||
height: 100%; | height: 100%; | ||
border: 0px; | border: 0px; | ||
− | |||
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding: 0px; | ||
Line 26: | Line 25: | ||
margin:0; | margin:0; | ||
padding:0; | padding:0; | ||
− | + | background-image:url("https://static.igem.org/mediawiki/2015/2/2c/IITDwikihome_background.jpg"); | |
− | background-image:url("https://static.igem.org/mediawiki/2015/ | + | background-size:100% 100%; |
} | } | ||
− | + | ||
− | + | .icons{ | |
− | + | ||
− | + | ||
position:absolute; | position:absolute; | ||
− | + | width:6%; | |
+ | -webkit-transition: all 1s ease; | ||
+ | -moz-transition: all 1s ease; | ||
+ | -o-transition: all 1s ease; | ||
+ | transition all 1s ease: | ||
} | } | ||
− | + | .iconActive{ | |
− | + | width:10%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | width: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
</style> <!-- End of CSS --> | </style> <!-- End of CSS --> | ||
<body> | <body> | ||
+ | <nav style="border:solid 2px white"> | ||
+ | <img class="icons" id="icon1" style="margin-top:5%; margin-left:11%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | ||
+ | <img class="icons" id="icon2" style="margin-top:5%; margin-left:83%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | ||
− | + | <img class="icons" id="icon3" style="margin-top:17%; margin-left:5%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | |
− | + | <img class="icons" id="icon4" style="margin-top:17%; margin-left:89%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <img class="icons" id="icon5" style="margin-top:28%; margin-left:5%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | |
− | + | <img class="icons" id="icon6" style="margin-top:28%; margin-left:89%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <img class="icons" id="icon7" style="margin-top:39%; margin-left:11%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | |
− | + | <img class="icons" id="icon8" style="margin-top:39%; margin-left:83%;" src="https://static.igem.org/mediawiki/2015/1/12/IITDproject_icon.png"> | |
+ | </nav> | ||
+ | |||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | $(".icons").hover( | ||
+ | function(){ | ||
+ | $(this).addClass("iconActive"); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).removeClass("iconActive"); | ||
+ | } | ||
+ | ); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 16:59, 11 September 2015