-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
57 lines (48 loc) · 895 Bytes
/
style.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
body{
font-family: Arial, Helvetica, sans-serif;
font-size: 17px;
line-height: 1.6;
}
.button{
background: coral;
padding: 1em 2em;
color: white;
border: 0;
}
.button:hover{
background: #333;
}
.modal{
display: none;
position: fixes;
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: 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;
}
@keyframes modalopen{
from {opacity: 0}
to {opacity: 1}
}
.closeBtn{
color: #ccc;
float: right;
font-size: 30px;
}
.closeBtn:hover, .closeBtn:focus{
color: #0000;
text-decoration: none;
cursor: pointer;
}