-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
61 lines (50 loc) · 1.14 KB
/
style.css
File metadata and controls
61 lines (50 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
body {
margin:0;
padding: 0;
background-color: #9b59b6;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.search-container {
background: #fff;
height: 30px;
border-radius: 30px;
padding: 10px 20px;
display: flex;
align-items: center;
cursor: pointer;
transition: 0.8s;
box-shadow: 4px 4px 6px 0 rgba(255,255,255,.3),
-4px -4px 6px 0 rgba(116,125,136,.3),
inset -4px -4px 6px 0 rgba(255,255,255,.3),
inset 4px 4px 6px 0 rgba(0,0,0,.2);
}
.search-container ::placeholder {
font-family: 'Montserrat', sans-serif;
}
.search-container:hover > .search-input{
width: 400px;
}
.search-container .search-input{
background:transparent;
border: none;
outline: none;
width: 0px;
font-weight: 500;
font-size: 16px;
transition: 0.8s;
}
.search-container .search-btn .fas{
color: #5cbdbb;
}
@keyframes hoverShake{
0%{transform:skew(0deg,0deg);}
25%{transform:skew(5deg,5deg);}
75%{transform:skew(-5deg,-5deg);}
100%{transform:skew(0deg,0deg);}
}
.search-container:hover{
animation: hoverShake 0.15s linear 3;
}