summaryrefslogtreecommitdiff
path: root/_sass/animate
diff options
context:
space:
mode:
Diffstat (limited to '_sass/animate')
-rw-r--r--_sass/animate/_fade-in-down.scss10
-rw-r--r--_sass/animate/_fade-in-up.scss10
-rw-r--r--_sass/animate/_fade-in.scss8
3 files changed, 28 insertions, 0 deletions
diff --git a/_sass/animate/_fade-in-down.scss b/_sass/animate/_fade-in-down.scss
new file mode 100644
index 0000000..a32a4e7
--- /dev/null
+++ b/_sass/animate/_fade-in-down.scss
@@ -0,0 +1,10 @@
+@include keyframes(fade-in-down) {
+ from {
+ opacity: 0;
+ @include transform(translateY(-2rem));
+ }
+ to {
+ opacity: 1;
+ @include transform(translateY(0));
+ }
+}
diff --git a/_sass/animate/_fade-in-up.scss b/_sass/animate/_fade-in-up.scss
new file mode 100644
index 0000000..920a0bb
--- /dev/null
+++ b/_sass/animate/_fade-in-up.scss
@@ -0,0 +1,10 @@
+@include keyframes(fade-in-up) {
+ from {
+ opacity: 0;
+ @include transform(translateY(2rem));
+ }
+ to {
+ opacity: 1;
+ @include transform(translateY(0));
+ }
+}
diff --git a/_sass/animate/_fade-in.scss b/_sass/animate/_fade-in.scss
new file mode 100644
index 0000000..03fdea8
--- /dev/null
+++ b/_sass/animate/_fade-in.scss
@@ -0,0 +1,8 @@
+@include keyframes(fade-in) {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}