Recall & Review
beginner
What does the <code>shadow</code> utility class in Tailwind CSS do?It adds a small default box shadow around an element, giving it a subtle lifted look.
Click to reveal answer
beginner
How do you apply a large shadow using Tailwind CSS?
Use the <code>shadow-lg</code> class to add a large box shadow to an element.Click to reveal answer
intermediate
What is the difference between
shadow-md and shadow-xl in Tailwind?shadow-md applies a medium shadow, while shadow-xl applies an extra large, more noticeable shadow.Click to reveal answer
beginner
How can you remove a box shadow from an element in Tailwind CSS?
Use the <code>shadow-none</code> class to remove any box shadow from an element.Click to reveal answer
intermediate
Why is using Tailwind's box shadow utilities better than writing custom CSS shadows?
Tailwind's utilities are consistent, easy to use, and responsive-friendly. They save time and keep your design uniform.
Click to reveal answer
Which Tailwind class adds a small default shadow to an element?
✗ Incorrect
The
shadow class adds a small default shadow.How do you remove a shadow from an element using Tailwind?
✗ Incorrect
The
shadow-none class removes any box shadow.Which class applies the largest shadow in Tailwind's default set?
✗ Incorrect
shadow-xl applies the largest default shadow.What is the main benefit of using Tailwind's box shadow utilities?
✗ Incorrect
Tailwind utilities provide quick and consistent shadows without needing custom CSS.
Which class adds a medium shadow in Tailwind?
✗ Incorrect
shadow-md adds a medium sized shadow.Explain how to use Tailwind CSS box shadow utilities to add and remove shadows on elements.
Think about the class names and how they describe shadow size.
You got /4 concepts.
Describe why using Tailwind's box shadow utilities can help keep your web design consistent and easier to maintain.
Consider benefits of utility classes over custom styles.
You got /4 concepts.