-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
75 lines (72 loc) · 1.44 KB
/
index.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container{
width: 100%;
height: 100vh;
background-color: #29442b;
display: flex;
align-items: center;
justify-content: center;
}
.btn{
padding: 10px 60px;
background-color: #6fd649;
border: 0;
outline: none;
cursor: pointer;
font-size: 22px;
font-weight: 500;
border-radius: 5px;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}
.popup{
width: 400px;
background-color: #7a8b7b;
border-radius: 6px;
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%,-50%) scale(0.1);
text-align: center;
padding: 15px 15px 30px 30px;
color: #0b0a04;
visibility: hidden;
transition: transform 0.4s,top 0.4s;
}
.open-popup{
top: 50%;
visibility: visible;
transform: translate(-50%, -50%) scale(1);
}
.popup img{
width: 95px;
margin-top: -50px;
border-radius: 50%;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}
.popup h2{
font-size: 30px;
font-weight: 500;
margin: 30px 0 10px;
}
.popup p{
font-size: 20px;
font-weight: 470;
}
.popup button{
width: 100%;
margin-top: 50px;
padding: 10px 0;
background: #6fd649 ;
border: 0;
font-weight: 500;
font-size: larger;
outline: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}