Last active
August 29, 2015 14:04
-
-
Save oliverbenns/cf7e171f0ced1437dec5 to your computer and use it in GitHub Desktop.
Stylus Mixin For Background Cover
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
background-size(arguments) | |
-webkit-background-size arguments | |
-moz-background-size arguments | |
-o-background-size arguments | |
background-size arguments | |
if arguments[0] == cover | |
-ms-behavior url('/assets/polyfill/backgroundsize.min.htc') //- https://github.com/louisremi/background-size-polyfill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment