11.0.1 • Published 3 years ago

emotion-normalize v11.0.1

Weekly downloads
11,852
License
MIT
Repository
github
Last release
3 years ago

emotion-normalize

Normalize file for Emotion CSS-in-JS library.

The original normalize.css is pulled from necolas/normalize.css, and parsed into emotion ready format.

Usage

npm install --save emotion-normalize

JavaScript

import { Global, css } from "@emotion/core";
import emotionNormalize from 'emotion-normalize';

// ...

<Global
  styles={css`
    ${emotionNormalize}
    html,
    body {
      padding: 0;
      margin: 0;
      background: white;
      min-height: 100%;
      font-family: Helvetica, Arial, sans-serif;
    }
  `}
/>

License

The MIT License

Credits

emotion-normalize is maintained and sponsored by Infinum.