tailwindcss-preflight

1.0.1 • Public • Published
preflight
“An opinionated set of base styles”
- Tailwind.com

⚙️ Installation

Using npm:

npm install tailwindcss-preflight

Using yarn:

yarn add tailwindcss-preflight

📖 Usage

Using CSS imports:

@import 'tailwindcss-preflight/preflightcss.css';

Using ES6 imports:

import 'tailwindcss-preflight';

🌐 CDN

Using JSDELIVR:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss-preflight/preflightcss.css">

Using UNPKG:

<link rel="stylesheet" href="https://unpkg.com/tailwindcss-preflight/preflightcss.css">

FAQ

Why did you create this package?

For anyone who wants to use Preflight but doesn't feel like pulling in all of Tailwind CSS.

Credits

Preflight is built on top of modern-normalize which itself is based on normalize.css.
All credit goes to the respective code authors:


Nicolas Gallagher

Jonathan Neal

Sindre Sorhus

Adam Wathan

Jonathan Reinink

Package Sidebar

Install

npm i tailwindcss-preflight

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

12.8 kB

Total Files

5

Last publish

Collaborators

  • grievouz