This repository has been archived by the owner on Oct 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cat.css
139 lines (125 loc) · 2.32 KB
/
cat.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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
@import "compass/css3";
.cat {
margin:0 auto;
width:400px;
height:400px;
background:rgb(56, 49, 42);
border-radius:50%;
border:5px solid #2c3e50;
position:relative;
&:before {
content:'';
display:block;
height:70px;
position:absolute;
background:#E5E5E5;
top:115px;
left:-45px;
width:95px;
border-radius:15px 10px 0 80px;
transform:rotate(45deg);
border-top:5px solid #2c3e50;
}
}
.left-eye, .right-eye {
&:before {
content:'';
width:70px;
height:150px;
background:transparent;
border-bottom:5px solid black;
border-radius:50%;
position:absolute;
top:-50px;
right:-20px;
}
&:after {
content:'';
position:absolute;
width:10px;
height:10px;
background:#e5e5e5;
border-radius:50%;
left:10px;
top:5px;
}
}
.left-eye {
width:30px;
height:40px;
background:black;
position:absolute;
top:115px;
right:135px;
border-radius:50%;
}
.right-eye {
width:30px;
height:40px;
background:black;
position:absolute;
top:115px;
right:65px;
border-radius:50%;
}
.mouth {
width:170px;
height:100px;
border-radius:20px 15px 70px 70px;
background:#350311;
position:absolute;
right:30px;
top:200px;
transform:rotate(-2deg);
overflow:hidden;
}
.tooth {
top:-2px;
border-top:17px solid white;
border-left:15px solid transparent;
border-right:15px solid transparent;
border-bottom:15px solid transparent;
position:absolute;
transform:rotate(-2deg);
}
.one {
right:95px;
border-top:35px solid white;
}
.four {
right:20px;
border-top:35px solid white;
}
.tongue {
background:#FF85A8;
width:200px;
height:80px;
position:absolute;
bottom:-20px;
left:-30px;
border-radius:50%;
transform:rotate(15deg);
}
.tail {
margin:0 auto;
width:150px;
height:65px;
background:#e5e5e5;
position:relative;
bottom:155px;
left:-105px;
border-radius:20px 0 0 200px;
z-index:-1;
transform:rotate(10deg);
}
.float {
-webkit-animation-name: Floating;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
}
@-webkit-keyframes Floating{
from {-webkit-transform:translate(0, 0px);}
50% {-webkit-transform:translate(0, 15px);}
to {-webkit-transform: translate(0, -0px); }
}