What's the meaning of ml in bootstrap 4?

2020-04-05 08:35发布

问题:

Hi I'm using bootstrap4 beta. I noticed that it uses the classes; ml-auto or mr-auto, instead of pull-right and pull-left. I can guess l is left and r is right. What's the meaning of m beside l and r? Is it margin?

回答1:

It's short for: margin-left

So ml-auto means margin-left: auto which aligns an element to the right.