Files
itzmineydev/src/app/shared/modal/modal.component.css
T

46 lines
723 B
CSS

.modal-backdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
text-align: center;
z-index: 1000;
}
.modal {
background-color: #202025;
color: #fff;
border-radius: 25px;
padding: 15px;
min-width: 300px;
max-width: 300px;
position: relative;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
z-index: 1001;
}
.close-btn {
position: absolute;
top: 25px;
right: 25px;
background: none;
color: white;
border: none;
font-size: 40px;
cursor: pointer;
transition: all ease-in-out 0.2s;
}
.close-btn:hover {
color: #ebe1fa;
}
.close-btn:active {
color: #a172e8;
}