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-app
yarn create next-app --example next-css next-css-app
pnpm create next-app --example next-css next-css-app
Deploy it to the cloud with Vercel (Documentation).