0
0
Tailwindmarkup~5 mins

Box shadow utilities in Tailwind - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
Ashadow-xl
Bshadow
Cshadow-none
Dshadow-lg
How do you remove a shadow from an element using Tailwind?
Ashadow-0
Bshadow-remove
Cno-shadow
Dshadow-none
Which class applies the largest shadow in Tailwind's default set?
Ashadow-xl
Bshadow-md
Cshadow-lg
Dshadow-sm
What is the main benefit of using Tailwind's box shadow utilities?
AThey require writing custom CSS
BThey are inconsistent across projects
CThey provide quick, consistent shadows without custom CSS
DThey only work on buttons
Which class adds a medium shadow in Tailwind?
Ashadow-md
Bshadow-sm
Cshadow-none
Dshadow-xl
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.