diff --git a/Global-styles-and-layouts.md b/Global-styles-and-layouts.md index ed0909e..84bd777 100644 --- a/Global-styles-and-layouts.md +++ b/Global-styles-and-layouts.md @@ -4,72 +4,60 @@ This page will answer how to set global styles like - CSS resets, such as `* { box-sizing: border-box; margin: 0; padding: 0 }` - Any other styles you might want on `` or ` -The easiest way to accomplish it is by using the [`` component](https://github.com/zeit/next.js#head-side-effects). For example, in `pages/index.js`: +The easiest way to accomplish it is by using the [` - + ) ``` -When the page is rendered, the ` - - -) -``` +Notice that `components/` is completely arbitrary, but I happen to like that structure. Then `components/meta.js` can introduce the `` with `