
Tailwind CSS Quiz
Authored by Yin Yin
Information Technology (IT)
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which utility class in Tailwind CSS sets a full-width container with padding on the sides?
container-fluid
full-width
container
max-w-screen
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What does the md: prefix indicate in Tailwind CSS?
It applies styles only in dark mode
It applies styles at the medium (md) breakpoint
It modifies margin and padding
It stands for "mobile device"
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which Tailwind class applies a flexbox layout with items centered horizontally and vertically?
flex center
flex justify-center items-center
flexbox middle
flex-align-center
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you apply a hover effect that changes text color to blue in Tailwind?
hover:text-blue
hover:color-blue
hover:text-blue-500
text-hover-blue
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which Tailwind utility sets a shadow around an element?
shadow-sm
box-shadow
drop-shadow
glow
6.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the correct way to add custom colors in Tailwind CSS?
Modify the colors.js file
Extend the theme in tailwind.config.js
Use inline CSS
Import a separate CSS file
7.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which Tailwind class makes an element take up the remaining space in a flex container?
flex-grow
flex-auto
flex-expand
flex-remaining
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?