Need Assistance?

support@tutorialshub.in

Styling & Asset Optimization

CSS Modules & Global Styles

ADVERTISEMENT
Next.js Free Lesson
5 min read
ADVERTISEMENT

Prefer writing traditional CSS? Next.js has built-in support for CSS Modules (files ending in .module.css). Class names are scoped locally to that component automatically, so .card in one file will never accidentally collide with .card in another.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you