Created
March 7, 2012 18:38
-
-
Save nimbupani/1995024 to your computer and use it in GitHub Desktop.
Trying some ideas for prefix solution
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
h1 { | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
-ms-border-radius: 10px; | |
-o-border-radius: 10px; | |
border-radius: 10px; | |
} | |
body { | |
background-image: -webkit-gradient(linear, #000, #fff), url('image.png'); | |
background-image: -webkit-linear-gradient(#000, #fff), url('image.png'); | |
background-image: -moz-linear-gradient(#000, #fff), url('image.png'); | |
background-image: -ms-linear-gradient(#000, #fff), url('image.png'); | |
background-image: -o-linear-gradient(#000, #fff), url('image.png'); | |
background-image: linear-gradient(#000, #fff), url('image.png'); | |
} | |
body { | |
display: -webkit-flexbox; | |
display: -moz-flexbox; | |
display: -ms-flexbox; | |
display: -o-flexbox; | |
} |
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
h1 { | |
@prefixed(border-radius: 10px); | |
} | |
body { | |
@prefixed(background-image: linear-gradient(#000, #fff), url('image.png')); | |
} | |
//Ambitious | |
body { | |
@prefixed(display: flexbox, ($official: false, $oldwebkit: false)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Essentially trying to find a less unwieldy solution to setting prefixes!