[css-borders] Can border-*
shorthands allow independent borders?
#1327
Labels
border-*
shorthands allow independent borders?
#1327
https://drafts.csswg.org/css-backgrounds-3/#the-border-shorthands
Building off of #1279 , I'd still like to suggest extending the
border-*
shorthand syntaxes to allow independent borders.where
logical
is the keyword switch for logical properties, and<line-width>
<line-style>
<color>
For any given 1–2
<border-line>
values (including width || style || color), theborder-block
shorthand would setborder-block-start
andborder-block-end
, in that order. The second value, if absent, would copy from the first value.border-inline
would behave respectively for inline-side borders.The 1–4
<border-line>
values onborder
would indicate standard order.In all cases, the
<border-line>
groups would need to be separated by slashes.The text was updated successfully, but these errors were encountered: