-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
104 lines (99 loc) · 1.69 KB
/
Copy pathmain.css
File metadata and controls
104 lines (99 loc) · 1.69 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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;
-webkit-animation: CursorAnim 0.5s infinite alternate;
animation: CursorAnim 0.5s infinite alternate;
pointer-events: none;
}
.cursor::after {
content: "";
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
border: 8px solid grey;
opacity: 0.5;
top: -8px;
left: -8px;
-webkit-animation: cursorAnim2 0.5s infinite alternate;
animation: cursorAnim2 0.5s infinite alternate;
}
@-webkit-keyframes CursorAnim {
from {
transform: scale(1);
}
to {
transform: scale(0.7);
}
}
@keyframes CursorAnim {
from {
transform: scale(1);
}
to {
transform: scale(0.7);
}
}
@-webkit-keyframes CursorAnim2 {
from {
transform: scale(1);
}
to {
transform: scale(0.4);
}
}
@keyframes CursorAnim2 {
from {
transform: scale(1);
}
to {
transform: scale(0.4);
}
}
@-webkit-keyframes CursorAnim3 {
0% {
transform: scale(1);
}
50% {
transform: scale(3);
}
100% {
transform: scale(1);
opacity: 0;
}
}
@keyframes CursorAnim3 {
0% {
transform: scale(1);
}
50% {
transform: scale(3);
}
100% {
transform: scale(1);
opacity: 0;
}
}
.expand {
-webkit-animation: Cursor Anim3 0.5s forwards;
animation: Cursor Anim3 0.5s forwards;
border: 1px solid red;
}
p {
color: white;
font-family: "arial";
text-align: center;
margin-top: 50px;
font-size: 1.4em;
}/*# sourceMappingURL=main.css.map */