Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumCSScustom propertiesSingle-choice MCQ

An element has a custom property defined on it but read by a property that does not exist on that element directly. Given the markup, what color is the child's text?

.parent { --accent: red; color: var(--accent); } .child { /* inherits color from .parent */ } .parent { --accent: blue; }