mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Drop .text-justify class (#29793)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
committed by
XhmikosR
parent
c30abbe112
commit
bd27834198
@@ -8,13 +8,7 @@ toc: true
|
||||
|
||||
## Text alignment
|
||||
|
||||
Easily realign text to components with text alignment classes.
|
||||
|
||||
{{< example >}}
|
||||
<p class="text-justify">Ambitioni dedisse scripsisse iudicaretur. Cras mattis iudicium purus sit amet fermentum. Donec sed odio operae, eu vulputate felis rhoncus. Praeterea iter est quasdam res quas ex communi. At nos hinc posthac, sitientis piros Afros. Petierunt uti sibi concilium totius Galliae in diem certam indicere. Cras mattis iudicium purus sit amet fermentum.</p>
|
||||
{{< /example >}}
|
||||
|
||||
For left, right, and center alignment, responsive classes are available that use the same viewport width breakpoints as the grid system.
|
||||
Easily realign text to components with text alignment classes. For left, right, and center alignment, responsive classes are available that use the same viewport width breakpoints as the grid system.
|
||||
|
||||
{{< example >}}
|
||||
<p class="text-left">Left aligned text on all viewport sizes.</p>
|
||||
@@ -27,6 +21,10 @@ For left, right, and center alignment, responsive classes are available that use
|
||||
<p class="text-xl-left">Left aligned text on viewports sized XL (extra-large) or wider.</p>
|
||||
{{< /example >}}
|
||||
|
||||
{{< callout info >}}
|
||||
Note that we don't provide utility classes for justified text. While, aesthetically, justified text might look more appealing, it does make word-spacing more random and therefore harder to read.
|
||||
{{< /callout >}}
|
||||
|
||||
## Text wrapping and overflow
|
||||
|
||||
Wrap text with a `.text-wrap` class.
|
||||
|
||||
Reference in New Issue
Block a user