# modern-reset

> A modern CSS reset

Latest version **0.1.0** (published 2019-12-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install modern-reset
pnpm add modern-reset
yarn add modern-reset
bun add modern-reset
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-12-07 |
| First published | 2019-12-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | davidjgoss |

## Links

- npm: https://www.npmjs.com/package/modern-reset
- Repository: https://github.com/davidjgoss/modern-reset
- Homepage: https://github.com/davidjgoss/modern-reset#readme
- Issues: https://github.com/davidjgoss/modern-reset/issues
- npm.io page: https://npm.io/package/modern-reset

## Recent versions

- 0.1.0 (latest) — 2019-12-07

## README

# modern-reset

> A modern CSS reset

Other solutions have been invented since, but I still think [Eric Meyer's CSS Reset](http://meyerweb.com/eric/tools/css/reset/) is the best way of approaching the problem of getting a predictable baseline across browsers. I've adapted Eric's original reset for the modern browser landscape.

## Install

```
$ npm install modern-reset
```

## Changes

- Removed `display:block` for HTML5 elements -- no need any more
- Removed `line-height:1` -- leading is a project style decision
- Added `font:inherit` for form elements -- saves doing it per-element later
- Added `box-sizing:inherit` universally and `border-box` on root -- nicer box model by default
- Added `text-size-adjust:100%` on root -- fixes some unwanted mobile browser behaviour
- Added `max-width` and `max-height` to image elements -- responsive by default
- Added sensible defaults for text-level semantic elements

## Browser support

IE9+, Edge, Safari, Firefox, Chrome, Opera.

---
_Source: https://npm.io/package/modern-reset · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
