Home

Awesome

SUIT CSS utilities: position

Build Status

SUIT CSS utility classes for positioning.

Read more about SUIT CSS's design principles.

Installation

Available classes

Usage

Creating a dialog overlay

<div role="dialog" class="Dialog u-posFixedCenter">
  <img src="{src}" alt="" />
</div>
<div class="Cover u-posFullScreen"></div>

Demo

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