Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Tailwind Styling | Basic Concepts
Next.js 14
course content

Conteúdo do Curso

Next.js 14

Next.js 14

1. Introduction
2. Basic Concepts
3. Pages and Layouts
4. Deployment and Database
5. Working with Data
6. Advanced Features
7. Authentication

book
Tailwind Styling

Tailwind CSS is a CSS framework that offers a collection of low-level utility classes. These classes can be added directly to your markup to create designs without writing CSS code from scratch. The key idea behind Tailwind is that by simply adding the appropriate set of classes, you can apply the required styles to your elements.

For example:

The button element will have a green background with white text. It will also have padding and rounded corners.

Back to the Project

Let's add one more element to our app with Tailwind styling. Copy the div element below and paste it above the p element in the app/page.tsx file.

After making the changes, save them and check the live page. You should now see a white circular shape.

In Practice

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 5
We're sorry to hear that something went wrong. What happened?
some-alt