-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Labels
Description
We've been hacking our way around the lack of official multiple border options for years with box-shadows, outline, drop-shadow. It seems like it's long past time to just allow multiple borders in a straight forward way.
problems with the current options:
-
Hacking borders with
outlineon elements with focus messes up accessibility. Causing devs to need to replace that functionality. Often in reality this does not happen. -
Hacking borders with
box-shadowleads to uneven "borders" on non 100% zoomed OS. -
Hacking borders with
drop-shadowusually requires a large number of shadow because it's missing a spread option. Also has the same issue with non 100% zoomed OS.
Proposing to look something like this:
border: solid #000 1px, dashed red 3px, solid #000 1px;
border: solid var(--background-color) 3px, solid #000 2px;