Difference between revisions of "Template:UNSW Australia/Up"

(Created page with "<html> <div id="topBtn" onclick="topFunction()"> <img height="50px" width="50px" src="https://static.igem.org/mediawiki/2018/6/66/T--UNSW_Australia--Top.png"> </div> <style> #topBt...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
<div id="topBtn" onclick="topFunction()">
+
<div id="topBtn" onclick="topFunction()" class="to-load">
 
<img height="50px" width="50px" src="https://static.igem.org/mediawiki/2018/6/66/T--UNSW_Australia--Top.png">
 
<img height="50px" width="50px" src="https://static.igem.org/mediawiki/2018/6/66/T--UNSW_Australia--Top.png">
 
</div>
 
</div>
Line 6: Line 6:
 
<style>
 
<style>
 
#topBtn {
 
#topBtn {
/*display: none; Hidden by default */
 
 
position: fixed; /* Fixed/sticky position */
 
position: fixed; /* Fixed/sticky position */
 
bottom: 30px; /* Place the button at the bottom of the page */
 
bottom: 30px; /* Place the button at the bottom of the page */
 
right: 30px; /* Place the button 30px from the right */
 
right: 30px; /* Place the button 30px from the right */
 
z-index: 99; /* Make sure it does not overlap */
 
z-index: 99; /* Make sure it does not overlap */
 +
opacity: 0.5;
 +
}
 +
 +
#topBtn:hover {
 +
opacity: 1.0;
 
}
 
}
 
</style>
 
</style>

Latest revision as of 00:56, 18 October 2018