Text Utilities

Text Alignment

Easily realign text to components with text alignment classes.

Column sizes and their responsive variants:

  • text-justify
  • text-left
  • text-center
  • text-right
  • text-sm-left
  • text-sm-center
  • text-sm-right
  • text-md-left
  • text-md-center
  • text-md-right
  • text-lg-left
  • text-lg-center
  • text-lg-right
  • text-xl-left
  • text-xl-center
  • text-xl-right

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.

Left aligned text on all viewport sizes.

Center aligned text on all viewport sizes.

Right aligned text on all viewport sizes.

Left aligned text on viewports sized SM (small) or wider.

Left aligned text on viewports sized MD (medium) or wider.

Left aligned text on viewports sized LG (large) or wider.

Left aligned text on viewports sized XL (extra-large) or wider.



								

Text Wrapping and Overflow

Prevent text from wrapping with a text-nowrap class.

This text should overflow the parent.

For longer content, you can add a text-truncate class to truncate the text with an ellipsis. Requires display: inline-block or display: block.

Praeterea iter est quasdam res quas ex communi.
Praeterea iter est quasdam res quas ex communi.


								

Text Transform

Transform text in components with text capitalization classes.

text-lowercase - Lowercased text.

text-uppercase - Uppercased text.

text-capitalize - capitalized text.

text-monospace - This is in monospace


<span class="text-lowercase">Lowercased text.</span>
<span class="text-uppercase">Uppercased text.</span>
<span class="text-capitalize">capitalized text.</span>
<span class="text-monospace">This is in monospace</span>
								

Font weight and italics

Quickly change the weight (boldness) of text or italicize text.

font-weight-bold - Bold text.

font-weight-normal - Normal weight text.

font-weight-light - Light weight text.

font-italic - Italic text.


<span class="font-weight-bold">Bold text.</span>
<span class="font-weight-normal">Normal weight text.</span>
<span class="font-weight-light">Light weight text.</span>
<span class="font-italic">Italic text.</span>
								

Text color

Available are color classes for text containing all colors from Material Design color pallette

#F44336 - red-text
#FFEBEE - red-text text-lighter-5
#FFCDD2 - red-text text-lighter-4
#EF9A9A - red-text text-lighter-3
#E57373 - red-text text-lighter-2
#EF5350 - red-text text-lighter-1
#F44336 - red-text
#E53935 - red-text text-darker-1
#D32F2F - red-text text-darker-2
#C62828 - red-text text-darker-3
#B71C1C - red-text text-darker-4
#FF8A80 - red-text text-alt-1
#FF5252 - red-text text-alt-2
#FF1744 - red-text text-alt-3
#D50000 - red-text text-alt-4
#E91E63 - pink-text
#FCE4EC - pink-text text-lighter-5
#F8BBD0 - pink-text text-lighter-4
#F48FB1 - pink-text text-lighter-3
#F06292 - pink-text text-lighter-2
#EC407A - pink-text text-lighter-1
#E91E63 - pink-text
#D81B60 - pink-text text-darker-1
#C2185B - pink-text text-darker-2
#AD1457 - pink-text text-darker-3
#880E4F - pink-text text-darker-4
#FF80AB - pink-text text-alt-1
#FF4081 - pink-text text-alt-2
#F50057 - pink-text text-alt-3
#C51162 - pink-text text-alt-4
#9C27B0 - purple-text
#F3E5F5 - purple-text text-lighter-5
#E1BEE7 - purple-text text-lighter-4
#CE93D8 - purple-text text-lighter-3
#BA68C8 - purple-text text-lighter-2
#AB47BC - purple-text text-lighter-1
#9C27B0 - purple-text
#8E24AA - purple-text text-darker-1
#7B1FA2 - purple-text text-darker-2
#6A1B9A - purple-text text-darker-3
#4A148C - purple-text text-darker-4
#EA80FC - purple-text text-alt-1
#E040FB - purple-text text-alt-2
#D500F9 - purple-text text-alt-3
#AA00FF - purple-text text-alt-4
#9C27B0 - deep-purple-text
#F3E5F5 - deep-purple-text text-lighter-5
#E1BEE7 - deep-purple-text text-lighter-4
#CE93D8 - deep-purple-text text-lighter-3
#BA68C8 - deep-purple-text text-lighter-2
#AB47BC - deep-purple-text text-lighter-1
#9C27B0 - deep-purple-text
#8E24AA - deep-purple-text text-darker-1
#7B1FA2 - deep-purple-text text-darker-2
#6A1B9A - deep-purple-text text-darker-3
#4A148C - deep-purple-text text-darker-4
#EA80FC - deep-purple-text text-alt-1
#E040FB - deep-purple-text text-alt-2
#D500F9 - deep-purple-text text-alt-3
#AA00FF - deep-purple-text text-alt-4
#9C27B0 - indigo-text
#F3E5F5 - indigo-text text-lighter-5
#E1BEE7 - indigo-text text-lighter-4
#CE93D8 - indigo-text text-lighter-3
#BA68C8 - indigo-text text-lighter-2
#AB47BC - indigo-text text-lighter-1
#9C27B0 - indigo-text
#8E24AA - indigo-text text-darker-1
#7B1FA2 - indigo-text text-darker-2
#6A1B9A - indigo-text text-darker-3
#4A148C - indigo-text text-darker-4
#EA80FC - indigo-text text-alt-1
#E040FB - indigo-text text-alt-2
#D500F9 - indigo-text text-alt-3
#AA00FF - indigo-text text-alt-4
#9C27B0 - blue-text
#F3E5F5 - blue-text text-lighter-5
#E1BEE7 - blue-text text-lighter-4
#CE93D8 - blue-text text-lighter-3
#BA68C8 - blue-text text-lighter-2
#AB47BC - blue-text text-lighter-1
#9C27B0 - blue-text
#8E24AA - blue-text text-darker-1
#7B1FA2 - blue-text text-darker-2
#6A1B9A - blue-text text-darker-3
#0d47a1 - blue-text text-darker-4
#EA80FC - blue-text text-alt-1
#E040FB - blue-text text-alt-2
#D500F9 - blue-text text-alt-3
#AA00FF - blue-text text-alt-4
#03A9F4 - light-blue-text
#E1F5FE - light-blue-text text-lighter-5
#B3E5FC - light-blue-text text-lighter-4
#81D4FA - light-blue-text text-lighter-3
#4FC3F7 - light-blue-text text-lighter-2
#29B6F6 - light-blue-text text-lighter-1
#03A9F4 - light-blue-text
#039BE5 - light-blue-text text-darker-1
#0288D1 - light-blue-text text-darker-2
#0277BD - light-blue-text text-darker-3
#01579B - light-blue-text text-darker-4
#80D8FF - light-blue-text text-alt-1
#40C4FF - light-blue-text text-alt-2
#00B0FF - light-blue-text text-alt-3
#0091EA - light-blue-text text-alt-4
#00BCD4 - cyan-text
#E0F7FA - cyan-text text-lighter-5
#B2EBF2 - cyan-text text-lighter-4
#80DEEA - cyan-text text-lighter-3
#4DD0E1 - cyan-text text-lighter-2
#26C6DA - cyan-text text-lighter-1
#00BCD4 - cyan-text
#00ACC1 - cyan-text text-darker-1
#0097A7 - cyan-text text-darker-2
#00838F - cyan-text text-darker-3
#006064 - cyan-text text-darker-4
#84FFFF - cyan-text text-alt-1
#18FFFF - cyan-text text-alt-2
#00E5FF - cyan-text text-alt-3
#00B8D4 - cyan-text text-alt-4
#009688 - teal-text
#E0F2F1 - teal-text text-lighter-5
#B2DFDB - teal-text text-lighter-4
#80CBC4 - teal-text text-lighter-3
#4DB6AC - teal-text text-lighter-2
#26A69A - teal-text text-lighter-1
#009688 - teal-text
#00897B - teal-text text-darker-1
#00796B - teal-text text-darker-2
#00695C - teal-text text-darker-3
#004D40 - teal-text text-darker-4
#A7FFEB - teal-text text-alt-1
#64FFDA - teal-text text-alt-2
#1DE9B6 - teal-text text-alt-3
#00BFA5 - teal-text text-alt-4
#4CAF50 - green-text
#E8F5E9 - green-text text-lighter-5
#C8E6C9 - green-text text-lighter-4
#A5D6A7 - green-text text-lighter-3
#81C784 - green-text text-lighter-2
#66BB6A - green-text text-lighter-1
#4CAF50 - green-text
#43A047 - green-text text-darker-1
#388E3C - green-text text-darker-2
#2E7D32 - green-text text-darker-3
#1B5E20 - green-text text-darker-4
#B9F6CA - green-text text-alt-1
#69F0AE - green-text text-alt-2
#00E676 - green-text text-alt-3
#00C853 - green-text text-alt-4
#8BC34A - light-green-text
#F1F8E9 - light-green-text text-lighter-5
#DCEDC8 - light-green-text text-lighter-4
#C5E1A5 - light-green-text text-lighter-3
#AED581 - light-green-text text-lighter-2
#9CCC65 - light-green-text text-lighter-1
#8BC34A - light-green-text
#7CB342 - light-green-text text-darker-1
#689F38 - light-green-text text-darker-2
#558B2F - light-green-text text-darker-3
#33691E - light-green-text text-darker-4
#CCFF90 - light-green-text text-alt-1
#B2FF59 - light-green-text text-alt-2
#76FF03 - light-green-text text-alt-3
#64DD17 - light-green-text text-alt-4
#CDDC39 - lime-text
#F9FBE7 - lime-text text-lighter-5
#F0F4C3 - lime-text text-lighter-4
#E6EE9C - lime-text text-lighter-3
#DCE775 - lime-text text-lighter-2
#D4E157 - lime-text text-lighter-1
#CDDC39 - lime-text
#C0CA33 - lime-text text-darker-1
#AFB42B - lime-text text-darker-2
#9E9D24 - lime-text text-darker-3
#827717 - lime-text text-darker-4
#F4FF81 - lime-text text-alt-1
#EEFF41 - lime-text text-alt-2
#C6FF00 - lime-text text-alt-3
#AEEA00 - lime-text text-alt-4
#FFEB3B - yellow-text
#FFFDE7 - yellow-text text-lighter-5
#FFF9C4 - yellow-text text-lighter-4
#FFF59D - yellow-text text-lighter-3
#FFF176 - yellow-text text-lighter-2
#FFEE58 - yellow-text text-lighter-1
#FFEB3B - yellow-text
#FDD835 - yellow-text text-darker-1
#FBC02D - yellow-text text-darker-2
#F9A825 - yellow-text text-darker-3
#F57F17 - yellow-text text-darker-4
#FFFF8D - yellow-text text-alt-1
#FFFF00 - yellow-text text-alt-2
#FFEA00 - yellow-text text-alt-3
#FFD600 - yellow-text text-alt-4
#FFC107 - amber-text
#FFF8E1 - amber-text text-lighter-5
#FFECB3 - amber-text text-lighter-4
#FFE082 - amber-text text-lighter-3
#FFD54F - amber-text text-lighter-2
#FFCA28 - amber-text text-lighter-1
#FFC107 - amber-text
#FFB300 - amber-text text-darker-1
#FFA000 - amber-text text-darker-2
#FF8F00 - amber-text text-darker-3
#FF6F00 - amber-text text-darker-4
#FFE57F - amber-text text-alt-1
#FFD740 - amber-text text-alt-2
#FFC400 - amber-text text-alt-3
#FFAB00 - amber-text text-alt-4
#FF9800 - orange-text
#FFF3E0 - orange-text text-lighter-5
#FFE0B2 - orange-text text-lighter-4
#FFCC80 - orange-text text-lighter-3
#FFB74D - orange-text text-lighter-2
#FFA726 - orange-text text-lighter-1
#FF9800 - orange-text
#FB8C00 - orange-text text-darker-1
#F57C00 - orange-text text-darker-2
#EF6C00 - orange-text text-darker-3
#E65100 - orange-text text-darker-4
#FFD180 - orange-text text-alt-1
#FFAB40 - orange-text text-alt-2
#FF9100 - orange-text text-alt-3
#FF6D00 - orange-text text-alt-4
#FF5722 - deep-orange-text
#FBE9E7 - deep-orange-text text-lighter-5
#FFCCBC - deep-orange-text text-lighter-4
#FFAB91 - deep-orange-text text-lighter-3
#FF8A65 - deep-orange-text text-lighter-2
#FF7043 - deep-orange-text text-lighter-1
#FF5722 - deep-orange-text
#F4511E - deep-orange-text text-darker-1
#E64A19 - deep-orange-text text-darker-2
#D84315 - deep-orange-text text-darker-3
#BF360C - deep-orange-text text-darker-4
#FF9E80 - deep-orange-text text-alt-1
#FF6E40 - deep-orange-text text-alt-2
#FF3D00 - deep-orange-text text-alt-3
#DD2C00 - deep-orange-text text-alt-4
#795548 - brown-text
#EFEBE9 - brown-text text-lighter-5
#D7CCC8 - brown-text text-lighter-4
#BCAAA4 - brown-text text-lighter-3
#A1887F - brown-text text-lighter-2
#8D6E63 - brown-text text-lighter-1
#795548 - brown-text
#6D4C41 - brown-text text-darker-1
#5D4037 - brown-text text-darker-2
#4E342E - brown-text text-darker-3
#3E2723 - brown-text text-darker-4
#9E9E9E - grey-text
#FAFAFA - grey-text text-lighter-5
#F5F5F5 - grey-text text-lighter-4
#EEEEEE - grey-text text-lighter-3
#E0E0E0 - grey-text text-lighter-2
#BDBDBD - grey-text text-lighter-1
#9E9E9E - grey-text
#757575 - grey-text text-darker-1
#616161 - grey-text text-darker-2
#424242 - grey-text text-darker-3
#212121 - grey-text text-darker-4
#607D8B - blue-grey-text
#ECEFF1 - blue-grey-text text-lighter-5
#CFD8DC - blue-grey-text text-lighter-4
#B0BEC5 - blue-grey-text text-lighter-3
#90A4AE - blue-grey-text text-lighter-2
#78909C - blue-grey-text text-lighter-1
#607D8B - blue-grey-text
#546E7A - blue-grey-text text-darker-1
#455A64 - blue-grey-text text-darker-2
#37474F - blue-grey-text text-darker-3
#263238 - blue-grey-text text-darker-4
#000000 - black-text
#FFFFFF - white-text
transparent-text - Transpatent text here use transparent-text class.

<div class="red-text">
    <!-- All text here will be red -->
</div>
								

Font alpha

Since font colors are defined in RGB colors you are able to change also color alpha opacity with text-alpha-* classes. For class to take the effect it must be combined with text color class e.g. red-text text-alpha-4.

normal text
text-alpha-8
text-alpha-6
text-alpha-6
text-alpha-2

								

Font size

Sometimes is necessary to adjust font size for smaller screens. These classes do the job.

text-size-1
text-size-2
text-size-3
text-size-4
text-size-5