Use no gutters class in a row to ditch all the gutters between the columns.
Bootstrap more gutter in two columns.
The following example shows how to get two columns starting at tablets and scaling to large desktops with another two columns equal widths within the larger column at mobile phones these columns and their nested.
Now here s our code for the no gutters class.
Recently i had a need to have a default grid in bootstrap but also on the homepage i needed to have 4 boxes that butted right up against each other.
Column widths are set in percentages so they re always fluid and sized relative to their parent element.
On a big screen it might look better with the content organized in three columns but on a small screen it would be better if the content items were stacked on top of each other.
Use the col class on a specified number of elements and bootstrap will recognize how many elements there are and create equal width columns.
Bootstrap s grid system is responsive and the columns will re arrange depending on the screen size.
Use the row no gutters class to remove the gutters from a row and its columns.
Use offset classes to move the column to the left.
Use mr auto class to force sibling columns to move away from each other.
In the example below we use three col elements which gets a width of 33 33 each.
Column classes indicate the number of columns you d like to use out of the possible 12 per row.
Regular bootstrap version below with kittens.
I came up with a handy no gutters class which has some pretty basic css that you apply to your row tag holding your columns.
See the auto layout columns section for more examples.