Margin and Padding Classes in Bootstrap - English

439 visits



Outline:

Margin and Padding Classes in Bootstrap Format for naming the margin and padding classes How to add .m-4 class for margin to the HTML file? Observe the margin in columns in responsive design mode To check how much margin is added How to horizontally center the block-level element by using .mx-auto class? How to add .pt-5 class for padding to the HTML file? Observe the padding in columns in responsive design mode To check how much padding is added Formats for naming margin and padding classes with Breakpoints How to add .pt-sm-5 class for padding to the HTML file? Observe the padding in columns in responsive design mode