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
Update gradient syntax to save bytes and to be future-proof #2795
The latest CSS3 Images has changed the syntax of
However, the spec has been stating that if the gradient goes from top to bottom we can omit keywords. And browsers that support gradients understand this omission.
So why don't we update the whole gradient syntax by dropping all the
rather than changing only the unprefixed rules like:
The former is future-proof too and it also saves a few bytes.