modal: change transition

now a simple fade-in/fade-out, which is part of tailwind.config.js
rather than modal.css.
This commit is contained in:
Harvey Tindall
2022-01-30 16:24:40 +00:00
parent baffa4a38c
commit ecbff16a88
4 changed files with 29 additions and 18 deletions

View File

@@ -10,19 +10,6 @@
background-color: rgba(0,0,0,40%);
}
.modal-shown {
display: block;
}
@keyframes modal-hide {
from { opacity: 1; }
to { opacity: 0; }
}
.modal-hiding {
animation: modal-hide 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modal-close {
float: right;
color: #aaa;