Uploaded May 2023 | Updated November 2026, 3 hours ago
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;
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;

![Dont [...spread] or .split() your strings!
Dont [...spread] or .split() your strings! Use Intl.Segmenter API. Available in every JS runtime Dont [...spread] or .split() your strings!](https://i.ytimg.com/vi/IiWEwscm9sg/mqdefault.jpg)








