-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathModal.css
More file actions
49 lines (44 loc) · 716 Bytes
/
Modal.css
File metadata and controls
49 lines (44 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background: white;
padding: 2rem;
border-radius: 8px;
text-align: center;
max-width: 400px;
width: 90%;
position: relative;
}
.modal-content h2 {
margin: 0 0 1rem 0;
color: #2c2e2f;
}
.modal-content p {
margin: 0;
color: #4a4a4a;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: #666;
padding: 5px;
line-height: 1;
}
.close-button:hover {
color: #333;
}