aboutsummaryrefslogtreecommitdiff
path: root/_scss/utilities/_animationduration.scss
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-05-31 04:10:54 +0300
committerValentin Popov <info@valentineus.link>2018-05-31 04:10:54 +0300
commitfcd7e33186f0188448b9ddac4cfe56dd641a389f (patch)
tree94e849d88d3b7d1035bf67d4fb25512b6e5a6c21 /_scss/utilities/_animationduration.scss
parent2655a6fed0c8e21ee24e0efe21a0f6e38c1adf89 (diff)
downloadobs-somafm_current_track-fcd7e33186f0188448b9ddac4cfe56dd641a389f.tar.xz
obs-somafm_current_track-fcd7e33186f0188448b9ddac4cfe56dd641a389f.zip
Animation-duration function added
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss/utilities/_animationduration.scss')
-rw-r--r--_scss/utilities/_animationduration.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/_scss/utilities/_animationduration.scss b/_scss/utilities/_animationduration.scss
new file mode 100644
index 0000000..7ea1278
--- /dev/null
+++ b/_scss/utilities/_animationduration.scss
@@ -0,0 +1,14 @@
+// Animation Duration
+//
+// The animation-duration property defines duration of a single animation cycle.
+//
+// Values: <time>
+// Default: 0s
+//
+// https://www.w3.org/TR/css-animations-1/#animation-duration
+@mixin animation-duration($value: 0s) {
+ -webkit-animation-duration: $value;
+ -moz-animation-duration: $value;
+ -o-animation-duration: $value;
+ animation-duration: $value;
+}