add dialog confirm,

add resize handler

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
2023-01-30 22:21:05 +00:00
parent 9069aba221
commit 821d4622f7
4 changed files with 105 additions and 30 deletions

18
css/dialog.css Normal file
View File

@@ -0,0 +1,18 @@
dialog {
background-color: #000000;
border: 1px solid white;
border-radius: 5px;
}
dialog::backdrop {
background: rgba(0, 0, 0, 0.5);
}
dialog .btn-group {
margin-top: 10px;
}
h1, h2, h3, p {
margin: 10px;
text-align: center;
}