Created
April 27, 2021 21:56
-
-
Save dvdrtrgn/118064ef506cb639ae316423a6ce3142 to your computer and use it in GitHub Desktop.
Fixed body background cover on mobile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body::after { | |
background-image: url(./images/bkgr.png); | |
background-position: center; | |
background-size: cover; | |
content: ''; | |
position: fixed; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
top: 0; | |
z-index: -1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment