tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

does possible use Tailwind like a base "normal" CSS framework? #468

Open elsuper-josev opened 4 years ago

elsuper-josev commented 4 years ago

Hi, I was following a couple of tutorials and would like give a try to Tailwind.

Include in any html page no problem:

But include custom styles, doesn't works:

Tried simple things in custom CSS like:

@import "base.css";

h1{ @apply text-2xl; }

Replace first import by @tailwind base; also doesn't works.

There is a simple way to try that or doesn't make sense with tailwind?

Thanks

cytRasch commented 4 years ago

How did you install or reference tailwind?

Did you use npm/yarn or just via cdn?

...because: https://tailwindcss.com/docs/installation#using-tailwind-via-cdn