Aug. 20, 2023, 5:31 a.m. | capscode

DEV Community dev.to




Table of content



  1. Introduction

  2. What is CSS Module

  3. How to use CSS Module

  4. How to write multiple class name in CSS Module

  5. Gloabel styling in CSS Module

  6. Styling HTML element in CSS Module

  7. Compose in CSS Module

  8. Variable in CSS Module

  9. How CSS Module work

  10. Conclusion





1. Introduction


CSS modules are just like plain CSS which you already know with lots of extra advantages and some specific rules.





2. Why we are using CSS modules and what is the need …

css html introduction javascript modules multiple react table webdev work

Research Scholar (Technical Research)

@ Centre for the Governance of AI | Hybrid; Oxford, UK

HPC Engineer (x/f/m) - DACH

@ Meshcapade GmbH | Remote, Germany

Encounter Data Management Professional

@ Humana | Work at Home - Kentucky

Pre-sales Manager (Data, Analytics & AI)

@ Databricks | Stockholm, Sweden

Lecturer / Senior Lecturer - Medical Imaging

@ Central Queensland University | Mackay, QLD, AU

Intern - Research Engineer

@ Plus | Santa Clara, CA