The Logical Border Radius Equivalents
The Logical Border Radius Equivalents êŽë š
I find this hard to remember and itâs come up for me a few times lately so Iâm writing it down gosh darn it!
The individual corner border-radius
values, like border-top-right-radius
(which is hard enough to remember on its own) have logical property versions, meaning that should the flow of the document change, the border radius values should come along for the ride.
border-top-right-radius
=border-start-end-radius
border-top-left-radius
=border-start-start-radius
border-bottom-right-radius
=border-end-end-radius
border-bottom-left-radius
=border-end-start-radius
(By âequivalentâ I mean the these turn out the same in left-to-right, top-to-bottom languages like English, Spanish, French, etc. In other directional situations, these are not equivalent, which is kinda the point.)
The syntax is:
border-<BLOCK_DIRECTION>-<INLINE_DIRECTION>-radius
Youâd choose the logical versions if you were using border-radius on elements where the flow was relevant. Hereâs an example of a âtagâ shape (chriscoyier
) on some inline text, and youâd potentially want the direction to flip.

If border-radius is being applied entirely as an aesthetic thing and it makes more sense to apply physical directionality rather than text-flow directionality, which is entirely common, feel free to use the classic properties.
I feel these newer logical properties for border-radius took an understandability hit, as while âborder-top-right-radiusâ is hard to remember because of trying to remember the right order of the words, at least once youâve got it, itâs clear where that radius is going to apply. Whereas with âborder-start-end-radiusâ you just have to know (or guess and test) which direction âstartâ applies to and which direction âendâ applies to.
Something like border-inline-start-block-end-radius
would solve that, but I do understand that is an awfully long property name and might suffer from confusion. If someone accidentally mentally grouped it like âborder-inlineâ âstart-blockâ âend-radiusâ, thatâs, uh, a meaningless jumble.
There is an interesting gotcha Michelle Barker found in Logical Border Radius with vertical writing modes, so if that comes up for you read what sheâs got to say there.