aboutsummaryrefslogtreecommitdiff
path: root/src/components/modal
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-10-21 15:37:14 -0400
committertaehoon <th.dev91@gmail.com>2019-10-21 15:37:14 -0400
commit2cadeeb724dfdaa47d933aa524a5c557cbabd3c1 (patch)
tree04d2b26947416d3feb9a89ad52bb9419b66c1def /src/components/modal
parentc217483640c13f4948af54466dddb0ebc71f374e (diff)
move modal animation keyframes definition
Diffstat (limited to 'src/components/modal')
-rw-r--r--src/components/modal/modal.vue9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue
index 34a50159..500b3d0a 100644
--- a/src/components/modal/modal.vue
+++ b/src/components/modal/modal.vue
@@ -31,4 +31,13 @@
opacity: 0;
}
}
+
+@keyframes modal-background-fadein {
+ from {
+ background-color: rgba(0, 0, 0, 0);
+ }
+ to {
+ background-color: rgba(0, 0, 0, 0.5);
+ }
+}
</style>