✨feature: Move back top top button styling to buttons.css
This commit is contained in:
@@ -74,6 +74,24 @@
|
||||
|
||||
.btn:active, .button:active { transform: scale(99%); }
|
||||
|
||||
/* Back To Top Button */
|
||||
#backToTopBtn {
|
||||
display:none;
|
||||
position:fixed;
|
||||
bottom:2rem;
|
||||
right:2rem;
|
||||
z-index:1000;
|
||||
padding:0.75em 1.5em;
|
||||
font-size:1.1rem;
|
||||
border-radius:2em;
|
||||
background:var(--color-primary,#3857BC);
|
||||
color:#fff;
|
||||
border:none;
|
||||
box-shadow:0 2px 8px rgba(0,0,0,0.15);
|
||||
cursor:pointer;
|
||||
transition:opacity 0.2s;
|
||||
}
|
||||
|
||||
/**
|
||||
* Variants
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user