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
{{ message }}
Repository navigation
Issue with "border-color": (horizontal and vertical syntax wrong way around) #2789
What information was incorrect, unhelpful, or incomplete?
/* horizontal | vertical */
border-color: red #f015ca;
/* top | vertical | bottom */
border-color: red rgb(240,30,50,.7) green;
Here "horizontal" would need to equate to "top & bottom" to match browser behaviour which is the opposite of what horizontal means. And same for "vertical"
Specific section or headline?
Syntax
What did you expect to see?
to match the border-style syntax and avoid confusion this should be written as:
/* top and bottom | left and right */
border-color: red #f015ca;
/* top | left and right | bottom */
border-color: red rgb(240,30,50,.7) green;
Activity
Swap odd horizontal-vertical terms in CSS doc
sideshowbarker commentedon Mar 2, 2021
Thanks for raising this — agreed, and made it so in #2796
Swap odd horizontal-vertical terms in CSS doc (#2796)
Sync from original (#1)