SHARE
TWEET

Untitled

ArtSemkin Nov 13th, 2019 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* style it as you'd like */
  2. .scroll-up {
  3.   position: fixed;
  4.   right: 25px;
  5.   bottom: 25px;
  6.   width: 50px;
  7.   height: 50px;
  8.   background-color: red;
  9.   z-index: 9999;
  10.   opacity: 0; /* it should be hidden initially */
  11.   visibility: hidden;
  12.   cursor: pointer;
  13.   transition: all 0.3 ease;
  14. }
  15.  
  16. /* helper class for toggling visibility */
  17. .visible {
  18.   opacity: 1 !important;
  19.   visibility: visible !important;
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top