Last active
February 6, 2017 13:09
-
-
Save MGCodeSnips/68a03da3f863420c8793a8b88a664dde to your computer and use it in GitHub Desktop.
You can use this code to add a background image that fully fills the back of any theme.
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
<style> | |
body { | |
background: url(images/bg.jpg) no-repeat center center fixed; /* Replace "images/bg.jpg" with your background image URL */ | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment