<分区>
<分区>
我在 Angular 元素中使用 Bootstrap 4,我注意到在使用 .col
类时框架会自动留出一些左边距。
问题是我无法删除该边距,因为即使检查员也告诉我边距是 none
。
我该怎么做?
最佳答案
将 no-gutters
类添加到 .row
。
这消除了排水沟。
或者,您可以将类 p-0
用于列上的“padding:0”或 m-0
用于“margin:0”。
关于html - Bootstrap 4 : remove columns margin gutter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48620413/