Re: [csswg-drafts] [css-images-4] Allow stripes to be used as gradients (#7244)

> I believe, the main advantage of option 1 besides reusing existing syntax is that it allows mixing smooth gradients and stripes. This is not possible with the other options.

That is an excellent point. Composability FTW. I think I'm now *strongly* in favor of Option 1.

> 1. Add `<1d-image>` to existing gradient functions
> [...]
> Cons
> [...]
>     - Semantically incorrect

What if we call it `bands()` instead of `stripes()`? Then it doesn't seem that incorrect inside gradients…





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


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

Received on Saturday, 26 August 2023 23:44:30 UTC