NetSurf linear-gradient() test
1. The two requested gradients
to bottom, 2 stops
FBFBFB 0, E7E7E7 1px, C4C4C4 100%
2. Directions
to bottom
to top
to right
to left
3. Angles (0 / 90 / 180 / 0.5turn)
180deg
90deg
0deg
0.5turn
4. Implicit direction & multi-stop
no direction
3 stops mirror
7-stop rainbow
5. Positioned hard bands
33% / 66% bands
smooth 160px tall
6. Translucent (rgba / hex-alpha) — pre-blend over base colour
rgba white fade
rgba black fade
#ffffffcc..#33333333
rgb() ints
7. Button-like element
Gradient button
8. Unsupported diagonal (should fall back to grey)
135deg diag