@npmcorp/pui-css-alignment

alignment css component for the npm fork of Pivotal UI, based on Bootstrap

Usage no npm install needed!

<script type="module">
  import npmcorpPuiCssAlignment from 'https://cdn.skypack.dev/@npmcorp/pui-css-alignment';
</script>

README

@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.