mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
Harvey Tindall
ecbff16a88
now a simple fade-in/fade-out, which is part of tailwind.config.js rather than modal.css.
23 lines
338 B
CSS
23 lines
338 B
CSS
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 12;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: rgba(0,0,0,40%);
|
|
}
|
|
|
|
.modal-close {
|
|
float: right;
|
|
color: #aaa;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.modal-close:hover,
|
|
.modal-close:focus {
|
|
filter: brightness(60%);
|
|
}
|