1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Update README.md

This commit is contained in:
Guillermo Rauch 2016-11-13 08:50:10 -08:00 committed by GitHub
parent c5887281fb
commit 03db7d78a6

View file

@ -67,7 +67,7 @@ Glamor's [HowTo](https://github.com/threepointone/glamor/blob/master/docs/howto.
```jsx
import React from 'react'
import css, {insertRule} from 'next/css'
import css from 'next/css'
export default () => (
<div className={style}>
@ -75,9 +75,6 @@ export default () => (
</div>
)
// Global CSS rule
insertRule("html, body { margin: 0; padding: 0; }")
const style = css({
background: 'red',
':hover': {