0
0
Bootsrapmarkup~5 mins

Color utilities (text, background) in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of Bootstrap's color utilities?
Bootstrap's color utilities let you quickly change text and background colors using simple classes, without writing custom CSS.
Click to reveal answer
beginner
How do you change text color to primary in Bootstrap?
Add the class text-primary to your HTML element to make its text color the primary theme color.
Click to reveal answer
beginner
Which class changes the background color to success in Bootstrap?
Use the class bg-success to set the background color to the success theme color.
Click to reveal answer
beginner
What class would you use to make text color white on a dark background?
Use text-white to make text white, which is helpful on dark backgrounds for good contrast.
Click to reveal answer
intermediate
How can you reset background color to transparent using Bootstrap utilities?
Use the class bg-transparent to remove any background color and make it transparent.
Click to reveal answer
Which Bootstrap class changes text color to a warning color?
Atext-warning
Bbg-warning
Ctext-danger
Dbg-danger
What class sets the background color to primary in Bootstrap?
Atext-primary
Bbg-primary
Cbackground-primary
Dprimary-bg
If you want white text on a dark background, which class should you use?
Atext-white
Bbg-dark
Cbg-white
Dtext-dark
Which class removes background color making it transparent?
Abg-clear
Bbg-reset
Cbg-none
Dbg-transparent
To make text color red using Bootstrap utilities, which class is correct?
Atext-red
Bbg-danger
Ctext-danger
Dbg-red
Explain how to use Bootstrap color utilities to change text and background colors.
Think about the class prefixes text- and bg-
You got /5 concepts.
    Describe why using Bootstrap color utilities is helpful for web design.
    Consider speed, consistency, and accessibility
    You got /5 concepts.