问题
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.
来源:https://stackoverflow.com/questions/46160931/whats-the-meaning-of-ml-in-bootstrap-4