Fixed background class
This commit is contained in:
parent
2925d6477d
commit
a8066ab7b1
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue