You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal to extend the outline shorthand value to optionally include an outline-offset value.
The desire for this change is to simplify/improve CSS variable definitions as complete design tokens. The font shorthand property is terrific for this purpose. Borrowing from that API, a slash delimiter (/) would offer the opportunity to declare an optional offset value e.g.
/* current */:focus {
outline:3px solid black;
outline-offset:2px;
}
/* proposed */:focus {
outline:3px solid black /2px;
}
Proposal to extend the outline shorthand value to optionally include an
outline-offset
value.The desire for this change is to simplify/improve CSS variable definitions as complete design tokens. The font shorthand property is terrific for this purpose. Borrowing from that API, a slash delimiter (
/
) would offer the opportunity to declare an optional offset value e.g.Abbreviated syntax:
Related:
outline-offset
be a longhand ofoutline
? #8788The text was updated successfully, but these errors were encountered: