Re: [csswg-drafts] Proposal: Add an incremental syntax to CSS Gradients (#8616)

`++` has the benefit of being well established in other languages and the intent is the same as it would be here : an implicit read and increment with whatever is on the right of `++`.

The only awkward thing about a syntax like this is that there really isn't a meaningful difference between `++60deg`, `+-60deg` `--60deg`, `-+60deg`.

`++` and `--` aren't real operators in this syntax. One symbol is a delim and the other is the sign of the dimension token.

----

If this is something you want to prototype as a PostCSS plugin, please let me know, happy to help out. I really like the work you do with CSS gradients!

-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8616#issuecomment-1475413756 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 19 March 2023 22:08:59 UTC