What are the spacing classes (margin and padding) in Bootstrap?

The format is {m|p}{t|b|s|e|x|y}-{0-5|auto}. Examples: mt-3 (margin top), px-4 (padding left and right), mx-auto (center a block), p-md-5 (padding 5 from the md breakpoint). Size 1 is 0.25rem and size 5 is 3rem. See Spacing.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.