-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.css
67 lines (61 loc) · 1.25 KB
/
search.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
.popup .overlay{
position: fixed;
top: 0px;
left: 0px;
width: 100px;
height: 100vh;
background: rgba(0, 0,0,0);
z-index: 1;
display: none;
}
.popup .content{
position: absolute;
top: 49%;
left: 77%;
transform: translate(-50%,-50%) scale(0);
background: white;
width: 600px;
height: 700px;
z-index: 2;
text-align: center;
padding: 20px;
box-sizing: border-box;
box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.popup .closebtn{
position: absolute;
right: 20px;
top: 20px;
width: 30px;
height: 30px;
background: #222;
color: white;
font-size: 25px;
font-weight: 600;
line-height: 30px;
text-align: center;
border-radius: 50%;
cursor: pointer;
}
.popup.active .overlay{
display: block;
}
.popup.active .content{
transition: all 300ms ease-in-out;
transform: translate(-50%,-50%) scale(1);
}
input{
width: 90%;
height: 100px;
margin-top: 30px;
border-top: 1px ;
border-left: 1px;
border-right: 1px;
font-size: 40px;
color: #808080;
}
input::placeholder{
color: #808080;
font-size: 20px;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}