Re: [csswg-drafts] [css-borders] Allow multiple borders by listifying them (#13044)

After discussing this with @emilio @fantasai @frivoal last night I’m now convinced the right solution is listifying with `border-width` being the property that determines the layers.

- While purely from a usability/API design pov we want _both_ the ability to specify individual widths and total width, we concluded that **regardless of syntax** there is no way to enable the latter and maintain the current snapping behavior, which does point towards specifying border widths individually.
- `border-width: 1px` needs to preserve the guarantee that your border box is `1px` and `border-color` needs to remain a property that cannot affect the box model. This design satisfies both requirements.
- We don't want the indirection of `border-style: solid, solid, solid` to get 3 borders
- This keeps the number of new concepts to a minimum. No `border-width-relative`, no `fr` units, no weird new functions, just existing primitives.
- Perhaps we could later introduce something like `repeat()` to facilitate repetition of the same value in `border-width`, but that's definitely not MVP.

Hopefully we can get to it in this meeting and resolve for this so we can get rid of `stripes()`… (cc @astearns)

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


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

Received on Wednesday, 28 January 2026 17:47:57 UTC