-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.scss
More file actions
78 lines (68 loc) · 1.21 KB
/
Copy pathmain.scss
File metadata and controls
78 lines (68 loc) · 1.21 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
body {
margin: 0;
height: 100vh;
/*cursor: none;*/
background: rgb(63, 63, 100)
}
.cursor {
width: 20px;
height: 20px;
border: 1px white solid;
border-radius: 50%;
position: absolute;
transition-duration: 200ms;
transition-timing-function: ease-in-out;
animation: CursorAnim .5s infinite alternate;
pointer-events: none;
}
.cursor::after{
content: "";
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
border: 8px solid grey;
opacity: .5;
top: -8px;
left: -8px;
animation: cursorAnim2 .5s infinite alternate;
}
@keyframes CursorAnim {
from {
transform: scale(1);
}
to {
transform: scale(.7);
}
}
@keyframes CursorAnim2{
from {
transform: scale(1);
}
to {
transform: scale(.4);
}
}
@keyframes CursorAnim3{
0% {
transform: scale(1);
}
50% {
transform: scale(3);
}
100% {
transform: scale(1);
opacity: 0;
}
}
.expand {
animation: Cursor Anim3 .5s forwards;
border: 1px solid red;
}
p {
color: white;
font-family: 'arial';
text-align: center;
margin-top: 50px;
font-size: 1.4em;
}