A modern CSS reset for web projects.
npm install comfortcss/reset@1.x.xAlternatively, download the files manually from the repository.
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";| 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 |