tailwind css js code example
Example 1: tailwind cdn
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
Example 2: tailwind css npm
# Using npm
npm install tailwindcss
# Using Yarn
yarn add tailwindcss
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
# Using npm
npm install tailwindcss
# Using Yarn
yarn add tailwindcss