Skip to content

Comment on Firefox 16 unprefix CSS Gradients, Animations, Transitions & Transforms

Comments

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?

The 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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.