Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-images-4] Add ability to change radial gradient focus #1575
During the discussions that led into the current
@bradkemper This is unrelated to background position. It's about creating asymmetrical gradients.
Some examples of what off-center focal points look like, using the SVG syntax, so people know what we are talking about (click on screenshot to go to code version):
All the the major rendering engines already support this for SVG (except that WebKit doesn't support repeating SVG gradients).
For me, the spherical shading effect is the most practical use-case. But the off-center repeating gradients are fun, too.