This repository has been archived on 2021-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
squirrel-theme/css/totop.css

33 lines
558 B
CSS
Raw Normal View History

2020-12-13 21:33:38 +00:00
.totop {
display: inline-flex;
background-color: Tomato;
color: #f2f2f2;
width: 50px;
height: 50px;
align-items: center;
justify-content: center;
border-radius: 50%;
margin: 30px;
position: fixed;
2021-02-17 18:56:58 +00:00
bottom: 0px;
right: 0px;
2020-12-13 21:33:38 +00:00
transition: background-color .3s;
z-index: 1000;
}
.show {
visibility: visible;
opacity: 1;
}
.hide {
visibility: hidden;
opacity: 0;
}
2021-02-17 18:56:58 +00:00
@media screen and (min-width: 600px) {
.totop:hover {
cursor: pointer;
background-color: black;
}
2020-12-13 21:33:38 +00:00
}