You may choose one of two containers to use in your projects.
Here's how the Bootstrap grid system works: grid classes, you can create a basic grid system that starts out stacked on mobile devices and tablet devices (the extra small to small range) before becoming horizontal on desktop (medium) devices.
Place grid columns in any With the four tiers of grids available you're bound to run into issues where, at certain breakpoints, your columns don't clear quite right as one is taller than the other.
To fix that, use a combination of a In addition to prebuilt grid classes for fast layouts, Bootstrap includes Less variables and mixins for quickly generating your own simple, semantic layouts.
Variables determine the number of columns, the gutter width, and the media query point at which to begin floating columns.
We use these to generate the predefined grid classes documented above, as well as for the custom mixins listed below.
You can modify the variables to your own custom values, or just use the mixins with their default values.Here's an example of using the default settings to create a two-column layout with a gap between.Nullam quis risus eget urna mollis ornare vel eu leo.Get the lowdown on the key pieces of Bootstrap's infrastructure, including our approach to better, faster, stronger web development.Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework.With Bootstrap 3, we've rewritten the project to be mobile friendly from the start.