Bec Schacht (Talk | contribs) |
Bec Schacht (Talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
<style> | <style> | ||
#topBtn { | #topBtn { | ||
− | |||
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. | + | opacity: 0.5; |
+ | } | ||
+ | |||
+ | #topBtn:hover { | ||
+ | opacity: 1.0; | ||
} | } | ||
</style> | </style> |
Latest revision as of 00:56, 18 October 2018