Last active
August 29, 2015 14:13
-
-
Save ekoneko/97545290b966137fb5a7 to your computer and use it in GitHub Desktop.
sass function
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 linear-gradient($direction, $color-stop1, $color-stop2) | |
background-image: linear-gradient($direction, $color-stop1, $color-stop2) | |
background-image: -webkit-linear-gradient($direction, $color-stop1, $color-stop2) | |
background-image: -moz-linear-gradient($direction, $color-stop1, $color-stop2) | |
background-image: -o-linear-gradient($direction, $color-stop1, $color-stop2) | |
@mixin keyframes($animationName) | |
@-webkit-keyframes #{$animationName} | |
@content | |
@-moz-keyframes #{$animationName} | |
@content | |
@-o-keyframes #{$animationName} | |
@content | |
@keyframes #{$animationName} | |
@content | |
@mixin animation($animations) | |
-webkit-animation: $animations | |
-moz-animation: $animations | |
-o-animation: $animations | |
animation: $animations | |
@mixin transition($transitions) | |
-webkit-transition: $transitions | |
-moz-transition: $transitions | |
-o-transition: $transitions | |
transition: $transitions | |
@mixin transform($transforms) | |
-webkit-transform: $transforms | |
-moz-transform: $transforms | |
-o-transform: $transforms | |
transform: $transforms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment