5.4 #Utils.text-alignment Text Alignment

Toggle example guides Toggle HTML markup

Some text alignment helpers.

Browser support: IE9+, Safari6+, Firefox30+, Chrome30+

Default styling

The quick brown fox jumps over the lazy dog

.sb-text--left
Align the text to the left.

The quick brown fox jumps over the lazy dog

.sb-text--center
Align the text to the center.

The quick brown fox jumps over the lazy dog

.sb-text--right
Align the text to the right.

The quick brown fox jumps over the lazy dog

Markup
<p class="[modifier class]">The quick brown fox jumps over the lazy dog</p>
Source: trumps/_text-align.scss, line 1