HTML & CSS · Junior · Question 46 of 75

What is the utility-first approach in Tailwind CSS about?

Explanation

Utility-first means styling with atomic classes, each doing one thing. Tailwind isn't a component library (unlike Bootstrap): it has no ready-made buttons. Only classes found in your source code end up in the final CSS, so the bundle stays small.

Further reading

Problem with a question

HTML & CSS · Junior · question 46

Test yourself

Take the HTML & CSS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz