Quiz: Getting Started with Tailwind CSS

Test your understanding of how to get started with Tailwind CSS.

1

Suppose we’ve wrapped all content in a container and want to center the design using the mx-auto utility. What’s the correct way to do it?

A)

<div class=“container” align=“mx-auto”></div>

B)

<div class=“container mx-auto”></div>

C)

<div class=“mx-auto” container=“auto”></div>

D)

<div class=“container” align=“mx-auto”></div>

Question 1 of 100 attempted

Get hands-on with 1200+ tech skills courses.