I think you have misunderstood about the gutters.
No gutters in bootstrap 4.
Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
You can copy our examples and paste them into your project.
You ll just want to copy that into your stylesheet and then use the no gutters class on your row div like so.
The following image shows the highlighted gutter space and space between columns on bootstrap 4 12 column grid system.
Its a little bit of a pain as the bs4 string for dom is really long but it is possible.
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.
The bootstrap 4 grid system has five classes col extra small devices screen width less than 576px col sm small devices screen width equal to or greater than 576px col md medium devices screen width equal to or greater than 768px col lg large devices screen width equal to or greater than 992px col xl xlarge devices screen width equal to or greater than 1200px.
Use 230 ready made bootstrap components from the multipurpose library.
You can even modify gutter width by reducing 15px width of gutter space between each columns.
By default bootstrap 4 has class no gutters to remove gutter spaces of any specific div.
You should leave that div with only the col class.
Col class col padding right.
Add the no gutters class to the row container to remove gutters extra space.
You would currently need to modify the dom property to add the no gutters class to the row divs.
Note you can continue to use this with all other predefined grid classes including column widths responsive tiers reorders and more.
Row no gutters class col row no gutters class col padding right.
The bootstrap 4 grid system has five classes col extra small devices screen width less than 576px col sm small devices.
Bootstrap 3 and 4 both already have 30px gutters between columns.
0 in practice here s how it looks.
The problem in your code is you have used the blue class right in the divs with col class.
Bootstrap css class no gutters with source code and live preview.