Bootstrap, RTL, and logical properties

Bootstrap 5 Beta 1 was released with RTL (right-to-left) support.

From this version, the class naming convention uses start and end instead of left, right when it comes to spacing utilities, like margin. This is similar to how flex properties work.

Even if you are not using Bootstrap, following this naming practice makes your code more future-proof.

Back to all posts

implenton is my (Mészáros Róbert) online web development-related presence, playground, and the name of my company of one.