This is an old revision of the document!


We've agreed that radial gradients should have a literate syntax. Linear gradients already kinda have one, in a simple way, and hopefully radials should end up thematically consistent.

Agreement so far:

The only thing left to decide is what keyword to use for the positioning argument. This has to be decided in the context of the planned level 4 extension to allow setting the focus (the point where the 0% color emerges from) separately from the center of the gradient shape. It seems we have rough agreement on using focus and offset or focus-offset for box-relative and shape-center-relative focus positioning, respectively.

Proposals for shape-center are to use at, from, or position. We want to ensure that it's clear that the keyword specifies the shape-center, not the focus.

 
ideas/radial-gradients.1320451968.txt.gz · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki