cloasing flag

This commit is contained in:
troy
2022-02-26 12:24:52 +01:00
parent f6f2b7ce97
commit 6535b205a3
5 changed files with 59 additions and 20 deletions

View File

@@ -39,6 +39,19 @@
display: block;
background-color: #fff;
border: 3px solid #000;
border-radius: 1em;
overflow-y: scroll;
height: 97vh;
}
#flag-overlay.closing {
transition: opacity 0.5s;
}
#flag-overlay.closing iframe {
transition: margin 1s ease, width 1s ease, height 1s ease;
width: 350px;
height: 170px;
margin-top: calc(50vh - 50px);
overflow: hidden;
}