-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.scss
55 lines (44 loc) · 901 Bytes
/
style.scss
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
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
cursor: none;
}
a {
text-decoration: none;
}
.cursor {
position: absolute;
height: 25px;
width: 25px;
border-radius: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
z-index: 999;
}
.outer {
border: 1px solid #f7f7f770;
z-index: 999;
}
.inner {
background: #f7f7f720;
transition: 250ms ease-out;
z-index: 999;
}
.cursor.hover {
transform: translate(-50%, -50%) scale(4);
transition: transform 250ms ease-in-out;
}
.inner.hover {
background: #333;
mix-blend-mode: difference;
}
@media screen and(max-width: 660px) {
.cursor {
display: none;
}
*{
cursor: auto;
}
}