< Back to Frontend Friday Folks Index
< Back to Frontend Friday Folks Index
Push Button
Highlighted solution (659 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 | |
My first solution when we started playing these CSS battles. Instead of using two inner divs,
this could have been done with
::before
and ::after
pseudo elements - but
I didn't know them too well back then.Highlighted solution (270 characters)
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
Gradients! This has been done when the Saturday edition of the Frontend Friday Folks started
over from the beginning. I joined this time and tried solving it again in a different way. Using
a radial-gradient and moving the background position seemed to make sense to me.