Re: [csswg-drafts] [css-borders] allow multiple borders (#13044)

> A thought that comes from reading this. Can some of these use cases be generalized as a gradient, given that gradients can be made to look like stripes? Then if we can have a version of border-image that uses a different image per-border, or something to that effect, perhaps we gain the entire CSS image ability to style the borders rather than having something bespoke?

That’s basically the direction of `stripes()`, but I think introducing a new concept of a `<1d-image>` into the language is overkill for this, which may explain the lack of implementations despite it being in the spec for a while now. I also think it's too far from author intent — people are not thinking in terms of stripes for these effects, they are thinking "I want two borders".

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


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

Received on Saturday, 1 November 2025 17:41:02 UTC