In the standard Bootstrap grid system, there are 12 columns with a gutter of 30px
between each column. This white space is known as gutters, and typically ranges in width from 20px
to 30px
. For this scenario, let's consider it to be 30px
.
I'm looking to eliminate the gutter space for a specific div
, so that the columns sit flush next to each other without any spacing in between.
The challenge arises when I remove the 30px
margin (gutter), as it leaves a gap of 360px
(12 * 30px
) at the end of the row.
My goal is to remove the gutter space only for certain div
s, specifically those within the main_content
div
.
div#main_content div{
/*
no gutter for the divs in main_content
*/
}
How can I achieve this removal of gutter for a specific div
without compromising the responsiveness of Bootstrap and avoiding blank spaces at the end of the row?