Created
September 24, 2015 09:25
-
-
Save jansesun/cb668637f1f43a1abd21 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@mixin keyframes($animationName) { | |
@-webkit-keyframes #{$animationName} { | |
$browser: '-webkit-'!global; | |
@content; | |
} | |
@-moz-keyframes #{$animationName} { | |
$browser: '-moz-'!global; | |
@content; | |
} | |
@-o-keyframes #{$animationName} { | |
$browser: '-o-'!global; | |
@content; | |
} | |
@keyframes #{$animationName} { | |
$browser: ''!global; | |
@content; | |
} | |
} $browser: null; | |
@include keyframes(animation-name) { | |
0% { | |
#{$browser}transform: translate3d(100%, 0, 0); | |
} | |
100% { | |
#{$browser}transform: translate3d(0%, 0, 0); | |
} | |
} |
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
@-webkit-keyframes animation-name { | |
0% { | |
-webkit-transform: translate3d(100%, 0, 0); | |
} | |
100% { | |
-webkit-transform: translate3d(0%, 0, 0); | |
} | |
} | |
@-moz-keyframes animation-name { | |
0% { | |
-moz-transform: translate3d(100%, 0, 0); | |
} | |
100% { | |
-moz-transform: translate3d(0%, 0, 0); | |
} | |
} | |
@-o-keyframes animation-name { | |
0% { | |
-o-transform: translate3d(100%, 0, 0); | |
} | |
100% { | |
-o-transform: translate3d(0%, 0, 0); | |
} | |
} | |
@keyframes animation-name { | |
0% { | |
transform: translate3d(100%, 0, 0); | |
} | |
100% { | |
transform: translate3d(0%, 0, 0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment