-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles2.css
76 lines (65 loc) · 1.1 KB
/
styles2.css
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 17px;
line-height: 1.6;
}
.button {
background-color: Coral;
padding: 1em 2em;
color: #FFF;
Border: 0:
}
.button:hover {
background-color: #333;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
height: 100%;
width: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
background-color: #F4F4F4;
margin: 20% auto;
/* padding: 20px; */
width: 400px;
box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2), 0 7px 20px 0 rgba(0,0,0,0.17);
animation-name: modalopen;
animation-duration: 1s;
}
.modal-header h2, .modal-footer h3 {
margin: 0;
}
.modal-header {
background-color: Coral;
padding: 15px;
color: #FFF;
}
.modal-body {
padding: 10px 20px;
}
.modal-footer {
background-color: Coral;
padding: 10px;
color: #FFF;
text-align: center;
}
.closeBtn {
color: #FFF;
float: right;
font-size: 30px;
}
.closeBtn:hover, .closeBtn:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
@keyframes modalopen {
from{opacity: 0}
to {opacity: 1}
}