node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

@npmcorp/pui-css-alignment

@npmcorp/pui-css-alignment

A CSS alignment component that can be installed via this npm package. The package provides all of the CSS you need to use the component.

Installation

To install the package, from the command line, type:

npm install pui-css-alignment

Usage

The following classes can be used for text alignment.

Property Description
txt-l Aligns left, default alignment, can be applied to table, tr, td, or th.
txt-r Aligns right, can be applied to table, tr, td, or th.
txt-c Aligns center (horizontally), can be applied to table, tr, td, or th.
txt-t Aligns top, can be applied to table, tr, td, or th.
txt-b Aligns bottom, can be applied to table, tr, td, or th.
txt-m Aligns middle (vertically), can be applied to table, tr, td, or th.

You can find more examples of the alignment component in the pui style guide


This is a component of Pivotal UI. It is a Pivotal specific implementation of Bootstrap.

Styleguide Github

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.