Next.js · Junior · Question 36 of 75

Where do you import global CSS in the App Router?

Explanation

Global styles are imported in the root layout and apply to all routes. For component styles, use CSS Modules (*.module.css), Tailwind or CSS-in-JS with RSC support. Next.js has no index.html file.

Further reading

Problem with a question

Next.js · Junior · question 36

Test yourself

Take the Next.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz