Wweeiiyyiinn (Talk | contribs) |
Wweeiiyyiinn (Talk | contribs) |
||
Line 5: | Line 5: | ||
<style type="text/css"> | <style type="text/css"> | ||
− | a#home-botton{height: | + | a#home-botton{height: 140px;width: 150px;position: absolute;left: 52%;top: 100%;transform: translate(-50%,-50%);} |
#button-bg-inactive{ | #button-bg-inactive{ | ||
background: url(https://static.igem.org/mediawiki/2017/5/5f/T--Shanghaitech--Home-Homepage-botton-thick.png) no-repeat 50% 50%/contain; | background: url(https://static.igem.org/mediawiki/2017/5/5f/T--Shanghaitech--Home-Homepage-botton-thick.png) no-repeat 50% 50%/contain; | ||
Line 15: | Line 15: | ||
a#home-button:hover #button-bg-active{display: block;} | a#home-button:hover #button-bg-active{display: block;} | ||
a#home-button:hover #button-bg-inactive{display: none;} | a#home-button:hover #button-bg-inactive{display: none;} | ||
+ | a#home-button:hover div{ | ||
+ | transform: rotate(180deg); | ||
+ | } | ||
</style> | </style> |
Revision as of 14:23, 1 November 2017