Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Margin and Padding Classes in Bootstrap - English

2322 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