32.9 GB
31,201 files
Updated 2 months ago
Name
Size
app
tsconfig.json713 Bytes
xet
styles.module.css203 Bytes
xet
package.json364 Bytes
xet
next.config.js199 Bytes
xet
README.md1.23 kB
xet
.gitignore437 Bytes
xet
README.md

Basic CSS example

Next.js has built-in support for CSS Modules allowing you to write scoped CSS by automatically creating a unique class name. CSS Module files can be imported anywhere in your application and you don't have to worry about collisions.

Deploy your own

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example basic-css basic-css-app
yarn create next-app --example basic-css basic-css-app
pnpm create next-app --example basic-css basic-css-app

Deploy it to the cloud with Vercel (Documentation).

Total size
32.9 GB
Files
31,201
Last updated
Sep 26
Pre-warmed CDN
US EU US EU

Contributors