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

> To clarify what I meant at the TPAC, was that
> 
> border: solid stripes(2px white, 3px black);
> could internally sum 2px+3px=5px and use that as the border width, instead of defaulting to `medium`.

Right, that makes sense. It allows expressing the border width additively instead of relatively to the total width, and without listifying the underlying `border-width`.

> In general, multiple borders can't always be expressed in terms of `stripes()` (e.g. when mixing different styles).

Sure, I got the impression so far that mixing different styles is not a strong use case.


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


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

Received on Tuesday, 18 November 2025 19:34:30 UTC