bootstrap-grid-css-only
v0.0.1
Published
CSS Grid System with a similar approach as Bootstrap version 4.
Downloads
9
Maintainers
Readme
Bootstrap CSS Grid Only
Purpose
There are times when you only want to use the excellent Bootstrap grid functionality but don't want the extra classes and typography changes included, often when asked to work on existing client sites that do not include any responsive frameworks and you just want to get the changes done quickly and responsively. With Bootstrap 4, extracting the grid functionality is easy.
Included Features
- Grid framework
- Responsive Utilities (ported from alpha)
.img-fluid
class (formerly.img-responsive
in Bootstrap 3)clearfix
utility
Installation
NPM
npm install bootstrap-css-grid-only --save
Bower Installation
bower install bootstrap-css-grid-only
Usage
Unlike traditional Bootstrapped, the grid must be wrapped with the .rllyhz-wrapper
class in an attempt to minimize potential conflicts with other libraries.
Simply download the appropriate CSS file and include it in your HTML header (you only need one):
app.css
- The expanded versionapp.min.css
- The minified version
Documentation for the grid system may be found on the Bootstrap web site.
Linking Stylesheets
Add the following to the head of your web page:
<link rel="stylesheet" href="rllyhz/css/app.min.css" />
Basic Usage Example
<div class="rllyhz-wrapper">
<div class="container">
<div class="row">
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4">.col-md-4</div>
</div>
<div class="row hidden-sm-down">
<!-- Hidden on small screens -->
<div class="col-md-6">.col-md-6</div>
<div class="col-md-6">.col-md-6</div>
</div>
</div>
</div>
Thanks.