CSS Logical Properties: A good use case

Published: 05 May 2023
on channel: Wes Bos
6,292
276

CSS logical properties specifies width/height/padding/border/etc using inline + block instead of top + bottom.

But where is that actually useful?

Heres a good example I just ran into with writing-mode: vertical-rl;


Watch video CSS Logical Properties: A good use case online without registration, duration hours minute second in high quality. This video was added by user Wes Bos 05 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,29 once and liked it 27 people.