Styles Text Classes
Description
The BcText utility provides predefined text styling classes for consistent typography. It includes classes for captions, bold text, text alignment, and responsive breakpoints.
Available Text Classes
bc-text-caption
Applies a font size based on the '--CaptionElementSize' variable, typically used for captions or small text.
bc-text-bold
Applies a bold font weight to the text.
bc-text-left
Aligns text to the left.
bc-text-center
Aligns text to the center.
bc-text-right
Aligns text to the right.
bc-text-justify
Justifies text, adjusting spacing for a clean look.
Responsive Text Alignment
For responsive adjustments, use classes like 'bc-text-left-sm' or 'bc-text-center-lg' to modify text alignment at different breakpoints.
Sample
This is a caption text.
This is bold text.
This text is left-aligned.
This text is center-aligned.
This text is right-aligned.
This is a very long text is justified to align both left and right. This is a very long text is justified to align both left and right. This is a very long text is justified to align both left and right.