odin-default-css-exercises/animation/03-pop-up/solution/solution.css

27 lines
370 B
CSS
Raw Normal View History

2021-10-18 21:33:12 +00:00
* {
padding: 0;
margin: 0;
}
#popup-container {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.popup-modal {
position: absolute;
width: 30%;
border: 1px solid black;
background-color: white;
display: flex;
justify-content: space-between;
visibility: hidden;
}
.show {
visibility: visible;
}