<p>Shoelace features a 12-column grid system based heavily on <ahref="https://getbootstrap.com/docs/4.0/layout/grid/">Bootstrap 4’s grid</a>. It’s flexible, easy to use, and fully responsive.</p>
<h3id="structure">Structure</h3>
<p>The grid consists of containers, rows, and columns. A basic, two-column grid looks like this:</p>
<p>Containers can be used to wrap sections of your page. Use the <code>container</code> class to create a responsive, fixed-width container or the <code>container-fluid</code> class to create a fluid container.</p>
<p>Rows are used to group columns horizontally. Rows can only contain columns as child elements.</p>
<p>Columns are where your content will go. To create a complete row, use any combination of columns that adds up to 12 wide.</p>
<h3id="creating-columns">Creating Columns</h3>
<p>Columns are equal width by default. The grid will automatically determine the appropriate size for columns with the <code>col</code> class.</p>
<p>To set the width of column, use the <code>col-*</code> modifier with a value of 1–12. Widths are calculated based on a total of 12 possible columns. Additional columns will wrap to a new line.</p>
<p>There are five responsive tiers in Shoelace: <code>xs</code>, <code>sm</code>, <code>md</code>, <code>lg</code>, and <code>xl</code>. You can use these tiers to change the way the grid responds at various breakpoints.</p>
<p>Use the <code>col-{tier}-*</code> modifier to target a specific tier. Note that tiers are based on minimum widths, so using <code>col-sm-6</code> will target <code>sm</code>, <code>md</code>, <code>lg</code>, and <code>xl</code>. However, you can target multiple tiers on the same column as needed.</p>
<p>For example, the following columns will stack on <code>xs</code> screens, take up 50% each (6 out of 12 columns) on <code>sm</code> screens, and 75% and 25% respectively on <code>md</code>, <code>lg</code>, and <code>xl</code> screens.</p>
<p>You can offset columns using <code>offset-*</code> and <code>offset-{tier}-*</code> modifiers. To reset an offset at a specific tier, use <code>offset-{tier}-0</code>.</p>
<p>You can control the visual order of columns using the <code>order-*</code> and <code>order-{tier}-*</code> modifiers. Note that columns without an order modifier will not be affected.</p>
<p>By default, columns have horizontal spacing around them to create “gutters.” You can remove this spacing by applying the <code>no-gutters</code> class to the parent row.</p>
<aclass="github-button"href="https://github.com/claviska/shoelace-css/fork"data-size="large"aria-label="Fork claviska/shoelace-css on GitHub">Fork</a>
<aclass="github-button"href="https://github.com/claviska/shoelace-css/releases"data-icon="octicon-cloud-download"data-size="large"aria-label="Download claviska/shoelace-css on GitHub">Download</a>
<aclass="github-button"href="https://github.com/claviska/shoelace-css/issues"data-icon="octicon-issue-opened"data-size="large"aria-label="Issue claviska/shoelace-css on GitHub">Report a Bug</a>
<aclass="github-button"href="https://github.com/claviska/shoelace-css"data-icon="octicon-star"data-size="large"data-show-count="true"aria-label="Star claviska/shoelace-css on GitHub">Star</a>