- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Sat, 01 Nov 2025 17:50:45 +0000
- To: public-css-archive@w3.org
> > 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". Ah gotcha. Another thing I'm concerned about here is that borders also affect layout and this can get really messy... Would it make sense to introduce something like this for `outline` instead? `outline` has the advantage of not affecting layout in addition to having a uniform width/style. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13044#issuecomment-3476623216 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:50:46 UTC