< Back to Frontend Friday Folks Index
< Back to Frontend Friday Folks Index
Stripes
Highlighted solution (694 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 | |
43 | |
44 | |
45 | |
46 | |
This was a hard one! We initially created this solution with less divs, but this was always
ending up in a 99.9% solution - even when the Diff
view showed up almost completely
black. Only when we zooming in the black diff-preview, we could see tiny discrepancies, but they
weren't even solvable by incrementing by half-pixel values or similar.
Very frustrating experience - it looks like sometimes you need to find a special way how to solve it. We still don't get, why this solution would be different to the one hundred percent solution below.
Highlighted solution (253 characters)
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
With this solution, achieving the 100% were no problem. I think I would have gone for this in
the first place, but solving everything with gradients almost seems to be cheating to me now.
Highlighted solution (211 characters)
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
There was another solution, which improved the character count a bit, by using a border on the
body instead of the transparent linear-gradient. Not much has changed otherwise, but it's good
to see that sometimes you can solve things differently. Still 100% with this approach. When
zooming in, I can't really see a difference to the 99% solution. I believe the circles to the
side somehow are calculated differently in the 99% solution then.