Skip to content

outwrite/emotion-normalize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%