This example demonstrates how to use Next.js' built-in CSS imports and CSS modules support.
Deploy the example using Vercel or preview live with StackBlitz
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example next-css next-css-appyarn create next-app --example next-css next-css-apppnpm create next-app --example next-css next-css-appDeploy it to the cloud with Vercel (Documentation).