Skip to content

Commit

Permalink
Updated links (#10604)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Alvarez D committed Feb 19, 2020
1 parent 9a0d82b commit 57d5f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/basic-features/built-in-css-support.md
Expand Up @@ -23,7 +23,7 @@ body {
}
```

Create a [`pages/_app.js` file](https://nextjs.org/docs/advanced-features/custom-app) if not already present.
Create a [`pages/_app.js` file](/docs/advanced-features/custom-app) if not already present.
Then, [`import`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) the `styles.css` file.

```jsx
Expand All @@ -36,7 +36,7 @@ export default function MyApp({ Component, pageProps }) {
```

These styles (`styles.css`) will apply to all pages and components in your application.
Due to the global nature of stylesheets, and to avoid conflicts, you may **only import them inside [`pages/_app.js`](https://nextjs.org/docs/advanced-features/custom-app)**.
Due to the global nature of stylesheets, and to avoid conflicts, you may **only import them inside [`pages/_app.js`](/docs/advanced-features/custom-app)**.

In development, expressing stylesheets this way allows your styles to be hot reloaded as you edit them—meaning you can keep application state.

Expand Down

0 comments on commit 57d5f83

Please sign in to comment.