jadalynstratman

Back-To-Top CSS

May 23rd, 2014
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. Copy and paste this after <style type="text/css">
  2. #toTop {
  3. display:none;
  4. text-decoration:none;
  5. position:fixed;
  6. bottom:10px;
  7. right:10px;
  8. overflow:hidden;
  9. width:51px;
  10. height:51px;
  11. border:none;
  12. text-indent:-999px;
  13. background:url(http://static.tumblr.com/8jq17g7/Ecym0czgw/ui.totop.png) no-repeat left top;}
  14. #toTopHover {
  15. background:url(http://static.tumblr.com/8jq17g7/Ecym0czgw/ui.totop.png) no-repeat left -51px;
  16. width:51px;
  17. height:51px;
  18. display:block;
  19. overflow:hidden;
  20. float:left;
  21. opacity: 0;
  22. -moz-opacity: 0;
  23. filter:alpha(opacity=0);}
  24. #toTop:active, #toTop:focus {
  25. outline:none;}
Advertisement
Add Comment
Please, Sign In to add comment