Skip to content

Glossary: Next.js Basics

CSS Module

Also written: CSS Modules, .module.css

A `.module.css` file whose class names apply only to the component that imports it. `SiteHeader.module.css` styles the header without affecting other pages.

Where the book teaches it

Related terms

Global CSS