Skip to content

Instantly share code, notes, and snippets.

@erikflowers
Created March 24, 2013 03:07
Show Gist options
  • Save erikflowers/5230313 to your computer and use it in GitHub Desktop.
Save erikflowers/5230313 to your computer and use it in GitHub Desktop.
super simple background-size: cover so CSS backgrounds will always be maximized, if your browser supports it.
.background-cover(@cover: cover) {
-webkit-background-size: @cover;
-moz-background-size: @cover;
-o-background-size: @cover;
background-size: @cover;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment