< Back to Frontend Friday Folks Index
< Back to Frontend Friday Folks Index
Skull
Highlighted solution (1118 characters)
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 | |
That was "fun" using gradients for the teeth and nose. The linear-gradient creates the long
parts of the teeth, using the background color and a transparent one in between. The background
size and origin start it at the appropriate pixels. The radial-gradients sit on top of these
teeth to create the rounded part of the teeth. The nose had to be split up and needed to be
included in both parts: The upper skull and the jar.