-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.mcss
53 lines (50 loc) · 1.05 KB
/
style.mcss
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
.spin {
animation-delay: .7s;
animation-duration: 1.8s;
animation-name: spin;
animation-iteration-count: 1;
animation-timing-function: ease;
}
@keyframes spin {
from { transform: rotateZ(0deg); }
to { transform: rotateZ(2160deg); }
}
.magnifier {
display: inline-block;
position: relative;
border-color: lightsteelblue;
}
.magnifier::after {
border: 4px solid;
border-color: inherit;
border-radius: 2px;
bottom: -8px;
box-sizing: border-box;
content: ' ';
display: block;
height: 18px;
position: absolute;
right: -3px;
transform: rotateZ(-45deg);
width: 8px;
}
.magnifier-input {
-webkit-appearance: none;
border-radius: 50px;
border: solid 5px;
border-color: inherit;
box-sizing: border-box;
font-size: 16px;
outline: 0;
padding: 4px 10px;
position: relative;
transition: .5s ease;
width: 36px;
}
.magnifier-input::-webkit-input-placeholder {
opacity: 0;
transition: opacity .5s;
}
.magnifier-input:focus::-webkit-input-placeholder {
opacity: 1;
}