3 ms·
My blood boils every time I see an odd change in a perfectly fine way of doing things. Compare this: linear-gradient(top,#fff,#000) to this linear-g
by Kilimanjaro 14y ago
My blood boils every time I see an odd change in a perfectly fine way of doing things.
Compare this:
linear-gradient(top,#fff,#000)
to this
linear-gradient(to bottom,#fff,#000)
Why?
- lillycat 14y agoThe CSS WG wanted that both the <angle> and the keywords to be consistent: both are indicating a direction now. The 'to' was added in order to let the old and new syntax coexist during the transition time.