100-project-100-days-website/100_projects/20-scroll-to-top-button/style.css
2023-03-13 17:14:17 +03:00
Ask

25 lines
408 B
CSS

{37ae7a995d896115c8c8f7ce998d91a41baa6984 true 408 style.css 0xc001fba4d0}

body {
height: 5000px;
background: #E86357;
}
.up{
position: fixed;
bottom: 30px;
right: -100px;
background-color: #2C2D2A;
color: white;
font-weight: bold;
font-size: 12px;
padding:10px 15px;
border-radius: 4px;
font-family: Arial, Tahoma;
cursor: pointer;
transition: 0.5s;
}
.up:hover{
background: #fff;
color: #2C2D2A;
}
.up.show {
right: 30px;
}