Fixed background class

This commit is contained in:
Patrick Alvin Alcala 2025-08-26 16:24:28 +08:00
parent 2925d6477d
commit a8066ab7b1

View file

@ -1,3 +1,5 @@
@use './breakpoint' as view
.fullscreen .fullscreen
position: fixed position: fixed
top: 0 top: 0
@ -6,7 +8,7 @@
height: 100vh height: 100vh
object-fit: cover object-fit: cover
z-index: -1 z-index: -1
opacity: 0.2 opacity: 1
.on-desktop-only .on-desktop-only
@media only screen and (max-width: view.$desktop) @media only screen and (max-width: view.$desktop)