@comfortcss/reset
v1.1.0
Published
An accessible and lightweight CSS reset for web development.
Maintainers
Readme
@comfortcss/reset
A modern CSS reset for web projects.
Installation
npm install comfortcss/[email protected]Alternatively, download the files manually from the repository.
Usage
At the very beginning of the CSS file:
@import '~@comfortcss/reset';For example, just the basic reset and forms:
@import "~@comfortcss/reset/reset";
@import "~@comfortcss/reset/modules/core/base.css";Modules
| Module | Description | |--------|-------------| |base|Box model, html, body, system colors| |typography|Headings, paragraphs, lists, quotes, code, hr| |forms|All input fields, buttons, select elements, and textareas| |tables|Tables, cells, captions| |media|Images, videos, iframes, SVG, audio| |interactive|Links, focus, hidden, disabled, contenteditable| |accessibility|prefers-reduced-motion, system @property|
