@anilanar/emotion-normalize

Normalize file for emotion JSS library

Usage no npm install needed!

<script type="module">
  import anilanarEmotionNormalize from 'https://cdn.skypack.dev/@anilanar/emotion-normalize';
</script>

README

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.