All Projects → suitcss → utils-layout

suitcss / utils-layout

Licence: MIT license
CSS layout utilities

Programming Languages

HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

SUIT CSS utilities: layout

Build Status

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

Read more about SUIT CSS's design principles.

Installation

  • npm: npm install suitcss-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-floatLeft - Float left.
  • u-floatRight - Float right.

Usage

Please refer to the README for SUIT CSS utils

Testing

Install Node (comes with npm).

npm install

To generate a build:

npm run build

To lint code with postcss-bem-linter and stylelint

npm run lint

To generate the testing build.

npm run build-test

To watch the files for making changes to test:

npm run watch

Basic visual tests are in test/index.html.

Browser support

  • Google Chrome (latest)
  • Opera (latest)
  • Firefox 4+
  • Safari 5+
  • Internet Explorer 8+
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].