0.2.0 • Published 10 years ago

am-utils-text v0.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

SUIT CSS utilities: text

Build Status

SUIT CSS text utilities.

Read more about SUIT CSS's design principles.

Installation

  • npm: npm install am-utils-text
  • Bower: bower install am-utils-text

Available attribute modules

  • [am-text=break] - Break strings when their length exceeds the width of their container.
  • [am-text=center] - Center-align text.
  • [am-text=left] - Left-align text.
  • [am-text=right] - Right-align text.
  • [am-text=inheritColor] - Inherit the ancestor's text color.
  • [am-text=kern] - Enable kerning in supporting browsers.
  • [am-text=noWrap] - Prevent wrapping at whitespace.
  • [am-text=truncate] - Truncate a single line of text, with ellipsis.

Usage

Please refer to the README for SUIT CSS utils

Browser support

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