Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Tailwind CSS Tutorial

Tailwind CSS Tutorial

Tailwind CSS is an open-source CSS framework.

Tailwind CSS is a feature-rich, utility-first CSS framework for quickly building custom designs.

Tailwind CSS was created by Adam Wathan and Jonathan Reinink in 2017 and released in 2018.

The core philosophy of Tailwind CSS is to provide a large number of utility classes that can be applied directly to HTML elements to achieve designs.

Who should read this tutorial?

As long as you have basic knowledge of HTML and CSS, you can read this tutorial and then develop your own website. After completing this tutorial, you will reach an intermediate level of using Tailwind CSS to develop Web projects.

Knowledge you need before reading this tutorial:

Before you start reading this tutorial, you must have a basic knowledge of HTML, CSS, and JavaScript. If you are not yet familiar with these concepts, we recommend reading our tutorials first:

Tailwind CSS Example

The following is a simple Tailwind CSS example:

Tailwind CSS Example

<

div

class

=

"

bg-blue-500 text-white p-4 rounded-lg

"

Hello, Tailwind CSS!

div

Try it »

The above example shows how to quickly define a card with a blue background, white text, padding, and rounded corners through simple class names.

Reference Links

Tailwind CSS official site:https://tailwindcss.com/

Tailwind CSS Official Documentation:https://tailwindcss.com/docs/