Created
July 4, 2012 07:46
-
-
Save matthewcopeland/3045955 to your computer and use it in GitHub Desktop.
a simple mixin file sample
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
@mixin box-shadow( $shadow ) { | |
-webkit-box-shadow: $shadow; | |
-moz-box-shadow: $shadow; | |
box-shadow: $shadow; | |
} | |
@mixin linear-gradient( $start, $stop1, $stop2 ) { | |
background-image: -webkit-linear-gradient( $start, $stop1, $stop2 ); | |
background-image: -moz-linear-gradient( $start, $stop1, $stop2 ); | |
background-image: -ms-linear-gradient( $start, $stop1, $stop2 ); | |
background-image: -o-linear-gradient( $start, $stop1, $stop2 ); | |
background-image: linear-gradient( $start, $stop1, $stop2 ); | |
} | |
@mixin box-sizing( $box-size ) { | |
-webkit-box-sizing: $box-size; | |
-khtml-box-sizing: $box-size; | |
-icab-box-sizing: $box-size; | |
-moz-box-sizing: $box-size; | |
-o-box-sizing: $box-size; | |
box-sizing: $box-size; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment