adjust font sizes, add transition and cursor states
[2048.git] / style / helpers.scss
blob:a/style/helpers.scss -> blob:b/style/helpers.scss
--- a/style/helpers.scss
+++ b/style/helpers.scss
@@ -31,3 +31,26 @@
   -moz-transition-property: $args;
 }
 
+// Keyframe animations
+@mixin keyframes($animation-name) {
+  @-webkit-keyframes $animation-name {
+    @content;
+  }
+  @-moz-keyframes $animation-name {
+    @content;
+  }
+  @keyframes $animation-name {
+    @content;
+  }
+}
+
+@mixin animation($str) {
+  -webkit-animation: #{$str};
+  -moz-animation: #{$str};
+}
+
+@mixin animation-fill-mode($str) {
+  -webkit-animation-fill-mode: #{$str};
+  -moz-animation-fill-mode: #{$str};
+}
+

comments