Styling
Global CSS in App Router
Shared CSS may be imported from the root layout for a predictable site-wide baseline. Avoid broad global page-specific rules that affect subsequent navigation. Source: https://nextjs.org/docs/app/guides/migrating/app-router-migration. Staged reference; snippets are illustrative and not complete apps.
Formal Syntax & Structure
nextjs syntaxnextjs
import "./globals.css"Working Example
Example Snippetnextjs
import "./globals.css";