Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marella/modernize
normalize.css with useful defaults for modern browsers.
https://github.com/marella/modernize
css css-framework css-reset normalize normalize-css
Last synced: 21 days ago
JSON representation
normalize.css with useful defaults for modern browsers.
- Host: GitHub
- URL: https://github.com/marella/modernize
- Owner: marella
- License: mit
- Created: 2015-08-21T17:29:22.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2021-06-22T13:53:22.000Z (over 3 years ago)
- Last Synced: 2024-12-11T13:59:59.536Z (22 days ago)
- Topics: css, css-framework, css-reset, normalize, normalize-css
- Language: CSS
- Homepage: https://github.com/marella/modernize/blob/main/modernize.css
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [modernize](https://github.com/marella/modernize/blob/main/modernize.css)
`normalize.css` with useful defaults for modern browsers.
## Installation
```sh
npm install modernize
```## Usage
Import in HTML:
```html
```
#### Webpack
Import in JS:
```js
import 'modernize';
```or import in CSS or Sass:
```css
@import 'modernize';
```## What does it do?
- Normalizes styles for a wide range of elements
- Corrects bugs and common browser inconsistencies
- Provides common, useful defaults
- Explains what code does using detailed comments## Browser support
- Chrome (latest)
- Edge (latest)
- Firefox (latest)
- Opera (latest)
- Safari (latest)## Differences from `normalize.css`
- Includes latest styles from [`csstools/normalize.css`](https://github.com/csstools/normalize.css/blob/11.0.1/normalize.css)
- Includes and marks opinionated styles from [`necolas/normalize.css`](https://github.com/necolas/normalize.css/blob/8.0.1/normalize.css)
- Adds useful defaults such as `box-sizing: border-box`
- Uses system fonts
- Drops support for Internet Explorer