Confirmed users, Bureaucrats and Sysops emeriti
792
edits
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
-moz-background-gradient: 10px 75px 75px 10px red,0.1 green,0.5 blue,0.9 | -moz-background-gradient: 10px 75px 75px 10px red,0.1 green,0.5 blue,0.9 | ||
: gradient from (10,10) to (75,75) (using TRBL), starting at red at 10%, to green at 50%, to blue at 90% | : gradient from (10,10) to (75,75) (using TRBL), starting at red at 10%, to green at 50%, to blue at 90% | ||
Maybe instead of just one -moz-background-gradient, which would be the shorthand for only horizontal, vertical, and evenly-spaced color stops, something like: | |||
: -moz-background-gradient-axis: horizontal | vertical | top right bottom left; | |||
: -moz-background-gradient-stops: 0.1 red 0.5 green 0.9 blue; | |||
Interaction with background images... ideally, a background image should be painted over the gradient. However, that makes it harder to use images for fallback for gradients for non-gecko browsers. So maybe... | Interaction with background images... ideally, a background image should be painted over the gradient. However, that makes it harder to use images for fallback for gradients for non-gecko browsers. So maybe... | ||