パッケージの詳細

suitcss-utils-display

suitcss3.2k1.0.2

Display utilities for SUIT CSS

browser, css-utilities, display, suitcss

readme

SUIT CSS utilities: display

Build Status

SUIT CSS display utilities.

Read more about SUIT CSS's design principles.

Installation

  • npm: npm install suitcss-utils-display
  • Download: zip

Available classes

  • u-block - Display block.
  • u-hidden - Display none.
  • u-hiddenVisually - Visually hidden but available to screenreaders.
  • u-inline - Display inline.
  • u-inlineBlock - Display inline-block.
  • u-table - Display table.
  • u-tableCell - Display table-cell.
  • u-tableRow - Display table-row.

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 (latest)
  • Safari 5+
  • Internet Explorer 9+

更新履歴

HEAD

1.0.2 (February 23, 2016)

  • Enable BEM linting

1.0.1 (February 08, 2016)

  • Update preprocessor to 1.0.0
  • Fix stylelint conformance

1.0.0 (November 20, 2015)

  • Revert u-flex and u-inlineFlex in favour of utils-flex

0.5.0 (November 01, 2015)

  • Add u-flex
  • Add u-inlineFlex
  • Add PostCSS as preprocessor

0.4.2 (October 28, 2014)

  • Add support for JS bundling.

0.4.1 (June 24, 2014)

  • Add .css extension to imports for interoperability.

0.4.0 (June 21, 2014)

  • npm-based workflow.
  • Add new preprocessor build tools.
  • Add u-hiddenVisually.
  • Add u-hidden.

0.3.0 (May 15, 2014)

  • Add u-tableRow.

0.2.4 (March 26, 2014)

  • Add 'files' to package.json.
  • Fix a Firefox bug related to images within inline-block.

0.2.3 (March 25, 2014)

  • Add npm support.

0.2.2 (September 1, 2013)

  • Fix Bower ignores.

0.2.1 (August 30, 2013)

  • Add CSS linting and configuration.
  • Add Component(1) support.

0.2.0 (May 25, 2013)

  • Add table display utilities.
  • Rename component.json to bower.json.
  • Add a test file.

0.1.0 (March 3, 2013)

  • Public release.