Recall & Review
beginner
What are shadow utilities in Bootstrap?
Shadow utilities in Bootstrap are predefined classes that add shadow effects to elements, making them look raised or lifted from the page.
Click to reveal answer
beginner
How do you add a small shadow to an element using Bootstrap?
Use the class
shadow-sm on the element to add a small shadow.Click to reveal answer
beginner
What class would you use to remove shadow from an element in Bootstrap?Use the class
shadow-none to remove any shadow from an element.Click to reveal answer
beginner
List the four main shadow utility classes in Bootstrap.
The four main shadow utility classes are:
shadow-none, shadow-sm, shadow, and shadow-lg.Click to reveal answer
intermediate
Why use shadow utilities instead of custom CSS for shadows?
Shadow utilities are quick to use, consistent across the site, and responsive. They save time and keep design uniform without writing custom CSS.
Click to reveal answer
Which Bootstrap class adds a large shadow to an element?
✗ Incorrect
The class
shadow-lg adds a large shadow. There is no shadow-xl class in Bootstrap.What does the class
shadow-none do?✗ Incorrect
shadow-none removes any shadow effect from the element.Which class would you use for a default shadow in Bootstrap?
✗ Incorrect
The class
shadow adds the default shadow size.Shadow utilities in Bootstrap are used to:
✗ Incorrect
Shadow utilities add shadow effects to elements to create depth.
Which shadow utility class would you use for the smallest shadow?
✗ Incorrect
shadow-sm adds the smallest shadow size.Explain how to use Bootstrap shadow utilities to add different shadow sizes to elements.
Think about the class names and what each does.
You got /5 concepts.
Describe why using Bootstrap shadow utilities is helpful compared to writing custom CSS shadows.
Consider benefits of ready-made classes.
You got /4 concepts.