3.0.0 • Published 10 years ago
patch-layout v3.0.0
patch-layout
Inline layout system
Why
- Columns use inline document flow
- Columns could be aligned vertically!
.push-xs-n, .pull-sm-nfor shorter markup- Fixed bootstrap visibility utils for mobile first
- Default screen ratio (16by9) for embed content
Install
bower i patch-layout -Snpm i patch-layout -SMedia Queries
xs- to 544pxsm- 545px to 767pxmd- 768px to 991pxlg- 992px to 1199pxxl- 1200px and greater
Grid
.container.row
Columns
n is 1-12 column width/offset indent
.col-xs-n.col-sm-n.col-md-n.col-lg-n
Relative move
Push - to left, pull - to right
.push-xs-n-.pull-xs-n.push-sm-n-.pull-sm-n.push-md-n-.pull-md-n.push-lg-n-.pull-lg-n
Responsive Media
.embed-responsive- wrapper. By default 16by9.embed-responsive--4by3.embed-responsive--16by9.embed-responsive--21by9iframe,embed,object,videoand.embed-responsive-itemare children.img-responsive
License
Copyright © 2015 Bogdan Chadkin