pui-css-alignment
A CSS alignment component that can be installed via this npm package.
This package provides all of the CSS you need to use the component.
Installation
To install the package from the command line:
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, a collection of React and CSS components for rapidly building and prototyping UIs.
Styleguide
Github
npm
(c) Copyright 2016 Pivotal Software, Inc. All Rights Reserved.