Skip to content

Instantly share code, notes, and snippets.

@MGCodeSnips
Last active February 6, 2017 13:09
Show Gist options
  • Save MGCodeSnips/68a03da3f863420c8793a8b88a664dde to your computer and use it in GitHub Desktop.
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.
<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