On Oct 30, 2011, at 10:25 PM, fantasai <fantasai.lists@inkedblade.net> wrote: > And while I'm at it, I'm going to toss in the idea that linear-gradient(), like > radial-gradient(), should be able to take an explicit size argument up front, > because if I'm resizing a fixed-length gradient that has 15 color stops from 5em > to 7em, I'd rather not change all the color stops. > > linear-gradient( <length>? > [ <angle> | from <side-or-corner> ] > as <color-stop> [, <color-stop>]+ ) > > /* photocopy edge effect */ > linear-gradient(4em from top as > 0% #00, 20% #4F, 27% #6F, 60% #E6, 67% #F0, 74% #F5, 100% #FF) I think it is likely that 99% of all real gradient usage on Web pages will be 2-3 color stops. I think we could safely leave this extra feature until CSS4, if we are trying to move things along and not make them more complicated.Received on Monday, 31 October 2011 13:24:22 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT