Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

What is "inside" of @tailwind base @tailwind components and @tailwind utilities? #397

Open
sunscreem opened this issue Dec 6, 2019 · 3 comments

Comments

@sunscreem
Copy link

Dumb question time. I can't work out from the docs or the code what the three basic @tailwind classes actually import.

I know base brings in reset styles and more, but.. I can't see this documented anywhere.

@tlgreg
Copy link

tlgreg commented Dec 6, 2019

https://tailwindcss.com/docs/functions-and-directives#tailwind
In the core, currently the only component is the container, everything else is utilities.

@JuanmaMenendez
Copy link

What is inside @tailwind components; ?? it is safe to exclude it if we are gonna just use the utility classes?

@adamwathan
Copy link
Member

Yes you can exclude it if you only want the utilities 👍🏻

Here’s the contents by default:

https://unpkg.com/tailwindcss/dist/components.css

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants