1.0.5 β’ Published 3 years ago
tailwindcss-base v1.0.5
A fixed material ui button conflict and opinionated alternative to CSS resets
βοΈ Installation
Using npm:
npm install tailwindcss-baseUsing yarn:
yarn add tailwindcss-basedifferent 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: