Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>#bttbutton {
- display: inline-block;
- background-color: #FF9800;
- width: 50px;
- height: 50px;
- text-align: center;
- border-radius: 4px;
- position: fixed;
- bottom: 30px;
- right: 30px;
- transition: background-color .3s,
- opacity .5s, visibility .5s;
- opacity: 0;
- visibility: hidden;
- z-index: 1000;
- }
- #bttbutton::after {
- content: '▲';
- font-family: FontAwesome;
- font-weight: normal;
- font-style: normal;
- font-size: 2em;
- line-height: 50px;
- color: #fff;
- }
- #bttbutton:hover {
- cursor: pointer;
- background-color: #333;
- }
- #bttbutton:active {
- background-color: #555;
- }
- #bttbutton.show {
- opacity: 1;
- visibility: visible;
- } </style>
- <a id="bttbutton"></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement