-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle2.css
More file actions
85 lines (72 loc) · 1.14 KB
/
style2.css
File metadata and controls
85 lines (72 loc) · 1.14 KB
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
77
78
79
80
81
82
83
84
85
body{
font-family: Ariel, helevetica, sans-serif;
font-size: 17px;
line-height: 1.6;
}
.buttton{
background: coral;
padding: 1em;
color: #fff;
border: 0;
}
.button:hover{
background: #333;
}
.modal-body-text{
color: cadetblue;
}
.h3{
color: green;
}
.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.3);
}
.modal-content{
background-color: #f4f4f4;
margin: 20% auto;
width: 70%;
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: coral;
padding: 15px;
color: #fff;
}
.modal-body{
padding: 10px 20px;
color: darkslategrey;
}
.modal-footer{
background: coral;
padding: 10px;
color: white;
text-align: center;
}
.closeBtn{
color: #ccc;
float: right;
font-size: 30px;
color: #fff;
}
.closeBtn:hover, closeBtn:focus{
color: #000;
text-decoration: none;
cursor: pointer;
}
@keyframes modalopen{
from{opacity: 0}
to {opacity: 1}
}