tailwind css docs code example
Example 1: tailwindcss cdn
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
Example 2: tailwind css
<link href="https://unpkg.com/tailwindcss@^2.0/dist/tailwind.min.css" rel="stylesheet">
Example 3: tailwind css
Tailwind is designed to be component friendly. It is so much easier
to separate a site's elements into smaller components and not pollute
the codebase with objects or extraneous CSS classes. Furthermore,
every class is inlined in the component, making it much easier to read and
understand.
Example 4: tailwind cdn
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
Example 5: tailwind css npm
# Using npm
npm install tailwindcss
# Using Yarn
yarn add tailwindcss