Team:UESTC-China/Attribution
From 2014.igem.org
(Difference between revisions)
Zhangmanni (Talk | contribs) |
Zhangmanni (Talk | contribs) |
||
Line 330: | Line 330: | ||
color:white; | color:white; | ||
} | } | ||
+ | /*rocket-to-top*/ | ||
+ | *{list-style:none;border:0;} | ||
+ | |||
+ | #rocket-to-top div { | ||
+ | left: 0; | ||
+ | margin: 0; | ||
+ | overflow: hidden; | ||
+ | padding: 0; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | width: 149px; | ||
+ | } | ||
+ | #rocket-to-top .level-2 { | ||
+ | background: url("https://static.igem.org/mediawiki/2014/a/a6/UestcUp.png") no-repeat scroll -149px 0 transparent; | ||
+ | display: none; | ||
+ | height: 250px; | ||
+ | opacity: 0; | ||
+ | z-index: 1; | ||
+ | } | ||
+ | #rocket-to-top .level-3 { | ||
+ | background: none repeat scroll 0 0 transparent; | ||
+ | cursor: pointer; | ||
+ | display: block; | ||
+ | height: 150px; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | #rocket-to-top { | ||
+ | background: url("https://static.igem.org/mediawiki/2014/a/a6/UestcUp.png") no-repeat scroll 0 0 transparent; | ||
+ | cursor: default; | ||
+ | display: block; | ||
+ | height: 250px; | ||
+ | margin: -125px 0 0; | ||
+ | overflow: hidden; | ||
+ | padding: 0; | ||
+ | position: fixed; | ||
+ | right: 0; | ||
+ | top: 80%; | ||
+ | width: 149px; | ||
+ | z-index: 11; | ||
+ | } | ||
+ | /*rocket-to-top end*/ | ||
+ | |||
+ | |||
</style> | </style> | ||
</head> | </head> | ||
Line 442: | Line 485: | ||
</div> | </div> | ||
+ | /*back to top*/ | ||
+ | <div style="display: none;" id="rocket-to-top"> | ||
+ | <div style="opacity:0;display: block;" class="level-2"></div> | ||
+ | <div class="level-3"></div> | ||
+ | </div> | ||
+ | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 12:34, 18 August 2014