Does bootstrap have builtin padding and margin classes?

后端 未结 9 2321
庸人自扰
庸人自扰 2020-12-25 09:57

Does Bootstrap have built-in padding and margin classes like pad-10, mar-left-10 or I have to add my own custom classes? For example, similar to th

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-25 10:33

    I would like to give an example which I tried by understanding above documentation and works correctly. If you wish to apply 25% padding on left and right sides medium screen size then please use px-md-1. It works as desired and can similarly follow for other screen sizes. :)

提交回复
热议问题