Skip to content

vfbiby/tailwindcss-preflight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fixed material ui button conflict and opinionated alternative to CSS resets

preflight
“A fixed material ui button conflict and opinionated alternative to CSS resets”
- Tailwind.com

⚙️ Installation

Using npm:

npm install tailwindcss-base

Using yarn:

yarn add tailwindcss-base

different from tailwindcss base

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  /*background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

📖 Usage

Using CSS imports:

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

Using ES6 imports:

import 'tailwindcss-base';

🌐 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

About

A modern and opinionated alternative to CSS resets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%