Custom properties
Custom properties Interview Questions
3 curated custom properties interview questions with detailed answers and examples.
← Browse all interview questionsUnderstand where a custom property resolves, why inheritance makes subtree overrides work, and the patterns for scoping and exposing component tokens.
intermediatecustom propertiescsscustom-propertiesinheritance
Compare a build-time text substitution with a live, inherited, runtime value that JavaScript can read and change.
intermediatecustom propertiescsscustom-propertiessass
Design a full theming system: semantic tokens, prefers-color-scheme defaults, a manual override attribute, no-flash hydration, and color-scheme for native UI.
advancedcustom propertiescsscustom-propertiesdark-mode