/utils-layout

SUIT utility classes for CSS layout traits

Primary LanguageCSSMIT LicenseMIT

SUIT utilities: layout

Build Status

A SUIT collection of utility classes for low-level CSS layout traits.

Read more about SUIT's design principles.

Installation

  • Component(1): component install suitcss/utils-layout
  • npm: npm install suitcss-utils-layout
  • Bower: bower install suit-utils-layout
  • Download: zip

Available classes

  • 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.

Usage

Please refer to the README for SUIT utils

Testing

Install Node (comes with npm).

npm install

To generate a build:

npm run build

To generate the testing build.

npm run build-test

Browser support

  • Google Chrome (latest)
  • Opera (latest)
  • Firefox 4+
  • Safari 5+
  • Internet Explorer 8+