Skip to content
/ css-reset Public

Simple and minimal CSS reset for modern web development.

License

Notifications You must be signed in to change notification settings

zemd/css-reset

Repository files navigation

@zemd/css-reset

npm

Simple and minimal CSS reset for modern web development.

Installation

bun add @zemd/css-reset
npm install @zemd/css-reset
pnpm add @zemd/css-reset

Usage

@layer reset;
@import "@zemd/css-reset" layer(reset);
/* @import @zemd/css/extra.css  layer(reset); */ /* - imports additional styles that were not included in the default reset file */

Note: when using @zemd/reset-css with Tailwind you might also want to disable preflight styles:

// tailwind.config.js
module.exports = {
  // ...
  corePlugins: {
    preflight: false,
  },
}

License

All the code in the repository released under the Apache 2.0 license

Donate