For example, to add Global Stylesheet to boilerplate, we import following CSS file within
Then, import the styles.css file.
These styles will apply to all pages and components in your application.
next.js only supports CSS Modules as Component-Level CSS implementation.
CSS Modules let you use the same CSS class name in different files without worrying about naming clashes.
To style your components using CSS Modules, name your stylesheet files with the
For example, lets check out a reusable Header component implementation.
The class names which will be processed into a globally unique class name during build.