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

> > To be fair, a comma-separated syntax for border-color could also distinguish the sides by comma.
> 
> [@SebastianZ](https://github.com/SebastianZ) That would be very inconsistent. Because `border-color: gray black` would then seem to mean `stripes(gray, black)` for all sides, but it needs to be something else.

If you mean inconsistent with other CSS properties like `margin` or list-valued ones like `background`, then the syntax could use slashes instead like `grid-area`.

Anyway, that was just to say that there are potential solutions to the issue outlined by @tabatkins.

Personally, I'm still in favor of the `stripes()` solution for all the reasons mentioned by me and others. Though I can also see the benefits of a listification of `border-color`. And the votes and [quotes from people commenting on Lea's poll](https://github.com/w3c/csswg-drafts/issues/13044#issuecomment-3478492464) should be considered, even when the poll was pretty biased and limited to a single use case.

Sebastian

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


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

Received on Thursday, 6 November 2025 08:54:41 UTC