< Back to Frontend Friday Folks Index
< Back to Frontend Friday Folks Index
Reflection
Highlighted solution (281 characters)
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
The first solution was pretty straight forward, drawing red and blue, the sun and then a gradient to add the reflection effect.
Highlighted solution (223 characters)
1 | |
2 | |
3 | |
4 | |
5 | |
By making the reflection first, using a "transparent" sun and moving the red sun part as a single, non-repeating background on top, this saved some characters. Thinking about transparency and layers really allows a lot of options using gradients.