CSSModules
CSS Modules is a technique where CSS class names are scoped locally to the component that imports them by default, preventing global naming collisions in larger applications.
6 resources across 2 libraries
Glossary Terms(4)
Radix UI
Radix UI is a library of low-level, unstyled, accessible React component primitives — such as dialogs, dropdowns, and tooltips — that handle behavior and acces…
styled-components
styled-components is a CSS-in-JS library for React that lets developers write actual CSS inside JavaScript using tagged template literals, generating uniquely…
Emotion CSS
Emotion is a performant CSS-in-JS library for JavaScript and React that allows writing styles as template literals or JavaScript objects, with support for both…
CSS Modules
CSS Modules is a technique where CSS class names are scoped locally to the component that imports them by default, preventing global naming collisions in large…
Interview Questions(2)
What Is CSS Specificity and How Do You Resolve Conflicts?
CSS specificity is the algorithm the browser uses to decide which of several conflicting rules wins for a given element, calculated as a weighted score across…
What Are CSS Modules and How Do They Solve Global Scope Problems?
CSS Modules are CSS files processed by a build tool so that every class name is automatically scoped to the specific component that imports it, generating uniq…