-
Notifications
You must be signed in to change notification settings - Fork 68
/
nyan-tail.less
122 lines (112 loc) · 3.5 KB
/
nyan-tail.less
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/* tail */
#tail {
width: 40px;
height: 54px;
position: absolute;
left: 0;
top: 40px;
}
/* FRAME 1 */
.frame1 #tail {
background: linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat;
background-size: 23px 18px;
background-position: 6px 0, 11px 6px, 17px 11px, 23px 17px, 34px 23px;
}
.frame1 #tail:before {
left: 11px;
top: 6px;
width: 29px;
height: 23px;
background: linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat;
background-size: 11px 6px;
background-position: 0 0, 6px 6px, 12px 12px, 18px 18px, 24px 24px;
}
/* FRAMES 2 AND 6 */
.frame2 #tail, .frame6 #tail {
background: linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat;
background-size: 11px 23px, 11px 23px, 11px 23px, 6px 11px;
background-position: 12px 6px, 18px 12px, 29px 17px, 6px 12px;
}
.frame2 #tail:before, .frame6 #tail:before {
width: 28px;
height: 23px;
left: 12px;
top: 12px;
background: linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat;
background-size: 11px 6px;
background-position: 0 0, 0 5px, 6px 11px, 17px 11px, 17px 17px;
}
/* FRAME 3 */
.frame3 #tail {
background: linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat;
background-size: 24px 12px, 24px 12px, 24px 12px, 6px 24px;
background-position: 16px 24px, 4px 30px, 10px 36px, 34px 18px;
}
.frame3 #tail:before {
width: 30px;
height: 12px;
top: 30px;
right: 0;
background: linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat;
background-size: 24px 6px, 18px 6px;
background-position: 6px 0, 0 6px;
}
/* FRAME 4 */
.frame4 #tail {
background: linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat;
background-size: 12px 24px, 12px 24px, 12px 24px, 6px 12px;
background-position: 28px 18px, 16px 24px, 10px 30px, 4px 36px;
}
.frame4 #tail:before {
width: 30px;
height: 24px;
top: 24px;
right: 0;
background: linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat;
background-size: 12px 12px, 12px 12px, 12px 6px;
background-position: 18px 0, 0 12px, 6px 6px;
}
/* FRAME 5 */
.frame5 #tail {
background: linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat,
linear-gradient(black, black) no-repeat;
background-size: 24px 18px, 24px 18px, 6px 12px, 6px 12px, 12px 6px;
background-position: 6px 6px, 12px 12px, 0 12px, 36px 12px, 28px 30px;
}
.frame5 #tail:before {
width: 34px;
height: 18px;
top: 12px;
right: 0;
background: linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat,
linear-gradient(#999, #999) no-repeat;
background-size: 18px 6px, 22px 6px, 6px 6px;
background-position: 0 0, 6px 6px, 28px 12px;
}