Bootstrap container-fluid padding

后端 未结 13 2104
情话喂你
情话喂你 2021-02-12 22:38

The following HTML is generating unwanted padding:

 
13条回答
  •  春和景丽
    2021-02-12 23:38

    2019 correct way according to the docs is using "x" in your p-0 class. When you use p-0 you are setting padding for top, right, bottom and left. If you use px-0 it's for left-and-right "X coordinates" and so if you set py-0 it's "Y coordinates and at the

    ...

    Should be like this:

    [..... other codes]

    Take a look into the docs: https://getbootstrap.com/docs/4.1/utilities/spacing/#notation

提交回复
热议问题