17 lines
398 B
CSS
17 lines
398 B
CSS
.custom-alert {
|
|
display: none;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
color: white;
|
|
padding: 15px 30px;
|
|
border-radius: 5px;
|
|
font-size: 16px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
z-index: 1000;
|
|
opacity: 0;
|
|
transition: opacity 1s ease-in-out;
|
|
text-align: center;
|
|
} |