Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

infinum/emotion-normalize

Repository files navigation

emotion-normalize

Normalize file forEmotionCSS-in-JS library.

The originalnormalize.cssis pulled fromnecolas/normalize.css,and parsed into emotion ready format.

Usage

npm install --save emotion-normalize

JavaScript

import{Global,css}from"@emotion/react";
importemotionNormalizefrom'emotion-normalize';

//...

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

License

TheMIT License

Credits

emotion-normalize is maintained and sponsored by Infinum.