Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Recall & Review
beginner
What does the blur filter do in Tailwind CSS?
The blur filter makes an element look fuzzy or out of focus by softening its edges. It is like looking through frosted glass.
Click to reveal answer
beginner
How do you apply a brightness filter in Tailwind CSS?
You use classes like brightness-50 to make an element darker or brightness-150 to make it brighter. The number is a percentage of the original brightness.
Click to reveal answer
intermediate
What is the effect of filter utility in Tailwind CSS?
The filter utility enables CSS filter effects like blur and brightness on an element. Without it, filter classes won’t work.
Click to reveal answer
beginner
Which Tailwind class would you use to add a small blur effect?
Use blur-sm to add a small blur effect that slightly softens the element’s edges.
Click to reveal answer
intermediate
How can you combine blur and brightness filters in Tailwind CSS?
Add the <code>filter</code> class plus both <code>blur-*</code> and <code>brightness-*</code> classes on the same element. For example: <code>filter blur-md brightness-125</code>.
Click to reveal answer
Which Tailwind class enables filter effects like blur and brightness?
Afilter
Bblur
Cbrightness
Dshadow
✗ Incorrect
The filter class activates CSS filter effects. Without it, blur or brightness classes won’t apply.
What does brightness-75 do to an element?
ARemoves brightness
BMakes it 75% as bright as normal
CIncreases brightness by 75%
DMakes it 75% blurry
✗ Incorrect
brightness-75 reduces brightness to 75% of the original, making the element darker.
Which class adds a medium blur effect in Tailwind?
Ablur-md
Bblur-lg
Cblur-sm
Dblur-none
✗ Incorrect
blur-md applies a medium level of blur to soften edges.
How do you apply both blur and brightness filters together?
AUse only <code>brightness-*</code> class
BUse only <code>blur-*</code> class
CAdd <code>filter</code> plus both <code>blur-*</code> and <code>brightness-*</code> classes
DAdd <code>shadow</code> class
✗ Incorrect
You must add filter plus both filter classes to combine effects.
What visual effect does blur-sm create?
ANo effect
BA bright glow
CA shadow behind the element
DA slight fuzzy or soft look
✗ Incorrect
blur-sm softly blurs the element’s edges for a subtle fuzzy look.
Explain how to use Tailwind CSS to make an image look blurry and darker at the same time.
Remember you need the filter class to activate effects.
You got /4 concepts.
Describe the difference between blur-sm and blur-lg in Tailwind CSS.
Think about how much the image looks fuzzy.
You got /4 concepts.
Practice
(1/5)
1. What does the Tailwind class blur-sm do to an element?
easy
A. It makes the element slightly blurry.
B. It increases the brightness of the element.
C. It adds a shadow around the element.
D. It changes the element's color to gray.
Solution
Step 1: Understand the blur-sm class
The blur-sm class applies a small blur filter, making the element look fuzzy.
Step 2: Compare with other effects
Brightness changes lightness, shadow adds shadow, and gray changes color, so these are different effects.