A SUIT collection of utility classes for low-level CSS layout traits.
Read more about SUIT's design principles.
- Bower:
bower install --save suit-utils-layout
- Download: zip
- Git:
git clone https://github.com/necolas/suit-utils-layout.git
u-cf
- Contain floats (micro clearfix).u-nbfc
- Create a new block formatting context.u-nbfcAlt
- Create a new block formatting context (alternative technique).u-pullLeft
- Float left.u-pullRight
- Float right.u-objLeft
- The same asu-pullLeft
but with10px
of opposite margin, and child image normalization.u-objRight
- The same asu-pullRight
but with10px
of opposite margin, and child image normalization.u-alignTop
- Vertically align to top.u-alignMiddle
- Vertically align to middle.u-alignBaseline
-Vertically align to baseline.u-alignBottom
- Vertically align to bottom.
Please refer to the README for SUIT utils
- Google Chrome (latest)
- Opera (latest)
- Firefox 4+
- Safari 5+
- Internet Explorer 8+