You can copy our examples and paste them into your project.
Bootstrap no gutters on mobile.
Col class col padding right.
No gutters the gutters between columns in our predefined grid classes can be removed with no gutters.
Here s the source code for creating these styles.
Same as no gutters gap size by default bootstrap grid has 30px gap between each column.
Use 230 ready made bootstrap components from the multipurpose library.
Theadmin includes a powerful mobile first grid system for building layouts of all shapes and sizes.
This removes the negative margins from row and the horizontal padding from all immediate children columns.
This hack will remove no gutters margin from all row in your project.
Now here s our code for the no gutters class row no gutters margin right.
You ll just want to copy that into your stylesheet and then use the no gutters class on your row div like so.
Bootstrap css class no gutters with source code and live preview.
Lorem ipsum dolor sit.
Note you can continue to use this with all other predefined grid classes including column widths responsive tiers reorders and more.
Following example has gap 2 class gap y.
0 in practice here s how it looks.
So if your want to apply no gutters or any css property you can simply change that property on main css sass file like this row margin.
In the example below we use three col elements which gets a width of 33 33 each.
Add the no gutters class to the row container to remove gutters extra space.
Row no gutters class col row no gutters class col padding right.
I need it only at smartphones.
I realize you ve tagged your question with version 3 however bootstrap 4 includes a class of no gutters for grids.
That you re seeing as well as the negative margin on the row.
Use the col class on a specified number of elements and bootstrap will recognize how many elements there are and create equal width columns.
Eliminates the padding from the columns that you re seeing.
You can add 30px vertical gap by.