HTML

Alignment

ExamplesDocumentation

Examples

Alignment simple

Copied to clipboard

Documentation

Overview

Breakpoint is optional. Breakpoints: base (no breakpoint value), -on-sm, -on-md, -on-lg, -on-xl. Example .pf-u-text-left-on-lg

Usage

Class Applied to Outcome
.pf-u-text-align-left{-on-[breakpoint]} * Aligns text left
.pf-u-text-align-center{-on-[breakpoint]} * Aligns text center
.pf-u-text-align-right{-on-[breakpoint]} * Aligns text right
.pf-u-text-align-justify{-on-[breakpoint]} * Aligns text justify