Installation via Tailwind CDN
Last updated
Was this helpful?
Last updated
Was this helpful?
The Play CDN is designed for development purposes only and is not the best choice for production.
Start by creating a new HTML file or open an existing one where you want to use Tailwind CSS.
Add an HTML boilerplate code to that HTML file
In the installation section, you will find the option to use the CDN. Copy the CDN link provided under the "Using a CDN" heading. The link should look something like this:
Paste the copied script tag into the <head>
section of your HTML file. It should look like this
The setup process is done 😎, Now just use tailwind css classes inside the index.html
Here is an example:
Output:
OR simply clone this GitHub repository:
Open the Tailwind CSS website () in your browser and navigate to the "Installation" section.