-
Notifications
You must be signed in to change notification settings - Fork 0
/
magic.css
70 lines (57 loc) · 941 Bytes
/
magic.css
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
body {
height: 100%;
overflow: hidden;
}
canvas{
pointer-events: none;
background-color:#4889f2;
transition-duration: 2s;
overflow: hidden;
}
canvas.dark {
background-color: #172f56;
}
canvas.light {
background-color: #f8f9cf;
}
canvas.light {
background-color: #f8f9cf;
}
.feather {
position: absolute;
top: 100%;
width: 150px;
transition-duration: 2s;
}
.feather--floating {
position: absolute;
top: 50px;
animation:spin 4s linear infinite;
}
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
.marker {
width: 50px;
height: 50px;
position: absolute;
opacity: 0;
transition-duration: .5s;
}
.marker.active {
opacity: .6;
}
.marker.right {
top: 50%;
right: 50px;
}
.marker.left {
top: 50%;
left: 50px;
}
.marker.up {
top: 50px;
left: 50%;
}
.marker.down {
bottom: 50px;
left: 50%;
}