This is a playground
to test code. It runs a full Node.js
environment and already has all of npm
’s 400,000 packages pre-installed, including @npmcorp/pui-css-alignment
with all npm
packages installed. Try it out:
@npmcorp/pui-css-alignment lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
require()
any package directly from npmawait
any promise instead of using callbacks (example)This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
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.
To install the package, from the command line, type:
npm install pui-css-alignment
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.
(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.