The bootstrap 4 grid system has five classes col extra small devices screen width less than 576px col sm small devices.
No gutters in bootstrap 4.
You would currently need to modify the dom property to add the no gutters class to the row divs.
Bootstrap 4 grid bs4 grid system bs4 stacked horizontal bs4 grid xsmall bs4 grid small bs4 grid medium bs4 grid large bs4 grid xlarge bs4 grid examples bootstrap 4 theme bs4 basic template bootstrap 4 ref all classes js alert js button js carousel js collapse js dropdown js modal js popover js scrollspy js tab js toasts js tooltip.
Its a little bit of a pain as the bs4 string for dom is really long but it is possible.
You ll just want to copy that into your stylesheet and then use the no gutters class on your row div like so.
Add the no gutters class to the row container to remove gutters extra space.
I think you have misunderstood about the gutters.
The following image shows the highlighted gutter space and space between columns on bootstrap 4 12 column grid system.
You can copy our examples and paste them into your project.
You need to do this the other way.
The problem in your code is you have used the blue class right in the divs with col class.
Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Now here s our code for the no gutters class row no gutters margin right.
Col class col padding right.
By default bootstrap 4 has class no gutters to remove gutter spaces of any specific div.
Note you can continue to use this with all other predefined grid classes including column widths responsive tiers reorders and more.
I m working on making this easier for dt2.
You can even modify gutter width by reducing 15px width of gutter space between each columns.
Bootstrap 3 and 4 both already have 30px gutters between columns.
Bootstrap css class no gutters with source code and live preview.
You should leave that div with only the col class.
Use 230 ready made bootstrap components from the multipurpose library.