mirror of
https://github.com/DerTyp7/dertyp7.github.io.git
synced 2025-10-29 04:42:08 +01:00
Refactor ScrollToTop.scss to apply responsive styles
This commit is contained in:
@@ -17,11 +17,14 @@
|
|||||||
|
|
||||||
&.down {
|
&.down {
|
||||||
transform: rotate(-180deg);
|
transform: rotate(-180deg);
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
@media screen and (min-width: 768px) {
|
||||||
position: fixed;
|
width: 50px;
|
||||||
bottom: 15px;
|
height: 50px;
|
||||||
right: 50%;
|
position: fixed;
|
||||||
|
bottom: 15px;
|
||||||
|
right: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
animation: pulseDown 1s infinite;
|
animation: pulseDown 1s infinite;
|
||||||
|
|||||||
Reference in New Issue
Block a user