aboutsummaryrefslogtreecommitdiff
path: root/src/index.css
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-10-10 19:24:56 +1100
committerTerry Truong <terry06890@gmail.com>2022-10-10 19:27:00 +1100
commitbb4f7f6dd4054de2c29113f72bc43777337aed9b (patch)
tree381ad22f0fbaf366082ea6f55cf037574bf1e0ce /src/index.css
parent151e77296fbc80b36649c89604adde071f6139a3 (diff)
Add timeline bound indicators to baseline
Diffstat (limited to 'src/index.css')
-rw-r--r--src/index.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/index.css b/src/index.css
index 44996b5..e050c82 100644
--- a/src/index.css
+++ b/src/index.css
@@ -3,6 +3,29 @@
@tailwind components;
@tailwind utilities;
+/* For transitions/animations */
+.fade-enter-from, .fade-leave-to {
+ opacity: 0;
+}
+.fade-enter-active, .fade-leave-active {
+ transition-property: opacity;
+ transition-duration: 300ms;
+ transition-timing-function: ease-out;
+}
+.animate-fadein {
+ animation-name: fadein;
+ animation-duration: 300ms;
+ animation-timing-function: ease-in;
+}
+@keyframes fadein {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+
/* Other */
@font-face {
font-family: Ubuntu;