It seems to me like the two item standard for most CSS properties is “top/bottom, left/right”. At least, that’s the case for everything I know of except border-spacing.
Is the “left/right, top/bottom” shorthand for border-spacing intentional? It gets me every time, and perhaps w3 didn’t notice it was inconsistent.
This is a little different because unlike things such as
border-widthormargin, only two values are accepted:You can probably chalk it up to this difference.
Whenever you see this shorthand for other properties that accept (up to) 4 values:
It just means that the bottom and left values are copied from the other side:
Or with three values:
This is equal to: