Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
9 lines
666 B
Markdown
9 lines
666 B
Markdown
# CSS Modules
|
|
|
|
CSS Modules let you write regular CSS files where class names are automatically scoped to the component that imports them. This avoids the common problem of class name collisions across a large codebase. You import the styles as an object in your component file and apply them like normal JavaScript variables.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@opensource@Project GitHub Repository](https://github.com/css-modules/css-modules)
|
|
- [@article@Using CSS Modules In React App](https://medium.com/@ralph1786/using-css-modules-in-react-app-c2079eadbb87)
|
|
- [@video@CSS Modules: Why are they great?](https://www.youtube.com/watch?v=pKMWU9OrA2s) |