CSS logical properties (better spacing)

In the modern web, we have more and more tools to ensure the best experience for users. One of my recent findings is CSS logical spacing, which maps to physical spacing regardless of the writing mode, text direction, and orientation.

.test {
  margin-inline: 10px 20px;
  padding-inline: 10px 20px;

Further reading


Level up your skills with useful UX, web development, and productivity tips via e-mail.


If you have any thoughts, please contact me on LinkedIn or see the contact page for more options.