Ever wanted to use the Bootstrap 3 Grid on a site that doesn’t use Bootstrap? Sure, you can load the entire bootstrap.min.css, but why force users to download that much extra stuff? Even worse, it may override existing styles on your site.
Thanks to the magic of LESS, it’s possible to make a CSS file with just the grid from Bootstrap 3.
Additionally, it uses its own class prefix (sc-), so it can even co-exist with an existing site running Bootstrap.
Click here to get the CSS! (GitHub Gist)
Example usage:
<div class="sc-container-fluid">
<div class="sc-row">
<div class="sc-col-sm-6">
Left
</div>
<div class="sc-col-sm-6">
<div class="sc-col-sm-6">
Right - Inside left
</div>
<div class="sc-col-sm-6">
Right - Inside right
</div>
</div>
</div>
</div>