summaryrefslogtreecommitdiff
path: root/sass/components/_transitions.scss
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-11-21 14:13:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-11-21 14:13:41 +0100
commite3fba3dcd493f609e107435867c4a67cb7ee420f (patch)
treecd228574b1d4f4e446fac87e9d6fe3eeffe27b63 /sass/components/_transitions.scss
parent88d3e67474c518a5c422b5f0e47c58147f31fe6e (diff)
import materialize sass sources instead of relying on npm
Diffstat (limited to 'sass/components/_transitions.scss')
-rw-r--r--sass/components/_transitions.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/sass/components/_transitions.scss b/sass/components/_transitions.scss
new file mode 100644
index 0000000..cb9f60d
--- /dev/null
+++ b/sass/components/_transitions.scss
@@ -0,0 +1,13 @@
+// Scale transition
+.scale-transition {
+ &.scale-out {
+ transform: scale(0);
+ transition: transform .2s !important;
+ }
+
+ &.scale-in {
+ transform: scale(1);
+ }
+
+ transition: transform .3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;
+} \ No newline at end of file