DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
CSS Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
CSS
What mechanism do CSS Modules use to guarantee class names never collide across different components?
A
A runtime JavaScript library that intercepts className props
B
Build-time automatic rewriting of class names into guaranteed-unique hashed versions, based on the .module.css file convention
C
Requiring every developer to manually prefix class names with the component name
D
CSS Modules do not actually prevent collisions
Check Answer