Advertisement
Guest User

CSS

a guest
Nov 27th, 2014
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.99 KB | None | 0 0
  1. #return-to-top {
  2.     position: fixed;
  3.     margin-left: auto;
  4.     margin-right: auto;
  5.     bottom: 20px;
  6.     right: 20px;
  7.     background: rgb(0, 0, 0);
  8.     background: rgba(0, 0, 0, 0.7);
  9.     width: 50px;
  10.     height: 50px;
  11.     display: block;
  12.     text-decoration: none;
  13.     -webkit-border-radius: 35px;
  14.     -moz-border-radius: 35px;
  15.     border-radius: 35px;
  16.     display: none;
  17.     -webkit-transition: all 0.3s linear;
  18.     -moz-transition: all 0.3s ease;
  19.     -ms-transition: all 0.3s ease;
  20.     -o-transition: all 0.3s ease;
  21.     transition: all 0.3s ease;
  22. }
  23. #return-to-top i {
  24.     color: #fff;
  25.     margin: 0;
  26.     position: relative;
  27.     left: 16px;
  28.     top: 13px;
  29.     font-size: 19px;
  30.     -webkit-transition: all 0.3s ease;
  31.     -moz-transition: all 0.3s ease;
  32.     -ms-transition: all 0.3s ease;
  33.     -o-transition: all 0.3s ease;
  34.     transition: all 0.3s ease;
  35. }
  36. #return-to-top:hover {
  37.     background: rgba(0, 0, 0, 0.9);
  38. }
  39. #return-to-top:hover i {
  40.     color: #fff;
  41.     top: 5px;
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement