-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
143 lines (130 loc) · 2.4 KB
/
style.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
140
141
142
143
body {
background-color: #5f1760;
margin: 0;
padding: 0;
}
.wrapper {
height: 420px;
width: 350px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.container {
height: 350px;
width: 350px;
position: absolute;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
top: 0;
left: 0;
}
.roller {
height: 45px;
width: 150px;
border: 5px solid #040e15;
border-radius: 7px;
background-image: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0, #ffca3e),
color-stop(80%, #ffca3e),
color-stop(80%, #fc8f2e)
);
background-image: -o-linear-gradient(
top,
#ffca3e 0,
#ffca3e 80%,
#fc8f2e 80%
);
background-image: linear-gradient(
to bottom,
#ffca3e 0,
#ffca3e 80%,
#fc8f2e 80%
);
position: absolute;
margin: auto;
left: 0;
right: 0;
top: 0;
-webkit-animation: roller 2s infinite;
animation: roller 2s infinite;
}
@-webkit-keyframes roller {
40% {
top: 165px;
}
}
@keyframes roller {
40% {
top: 165px;
}
}
.roller::before {
position: absolute;
content: '';
background-color: rgba(255, 255, 255, .7);
height: 7px;
width: 75px;
top: 8px;
left: 8px;
border-radius: '0px';
}
.roller::after {
position: absolute;
content: '';
height: 40px;
width: 85px;
border: 7px solid #040e15;
border-left: none;
right: -20px;
top: 20px;
z-index: -1;
border-radius: 7px;
}
.handle {
height: 30px;
width: 7px;
background-color: #040e15;
position: absolute;
top: 68px;
right: 65px;
}
.handle::after {
position: absolute;
content: '';
height: 75px;
width: 25px;
background-color: #040e15;
bottom: -75px;
right: -8px;
border-radius: 5px;
}
.paint {
background-color: #ffca3e;
height: 0;
width: 130px;
position: absolute;
margin: auto;
left: 0;
right: 0;
z-index: -1;
-webkit-animation: paint 2s infinite;
animation: paint 2s infinite;
}
@-webkit-keyframes paint {
40% {
height: 165px;
}
}
@keyframes paint {
40%{
height: 165px;
}
}