feat: add loading effect
This commit is contained in:
@@ -2,3 +2,22 @@
|
||||
width: 100vw !important;
|
||||
height: 100vh !important;
|
||||
}
|
||||
|
||||
.loader {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: black;
|
||||
z-index: 4444;
|
||||
transition: opacity 1.0s ease-in-out;
|
||||
pointer-events: none;
|
||||
|
||||
opacity: 1;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.loader.hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user