diff --git a/curriculum/challenges/english/blocks/quiz-css-variables/66ed9018f45ce3ece4053eb9.md b/curriculum/challenges/english/blocks/quiz-css-variables/66ed9018f45ce3ece4053eb9.md index d1d566660ad..7c0b6750ae3 100644 --- a/curriculum/challenges/english/blocks/quiz-css-variables/66ed9018f45ce3ece4053eb9.md +++ b/curriculum/challenges/english/blocks/quiz-css-variables/66ed9018f45ce3ece4053eb9.md @@ -763,31 +763,31 @@ Only applies within `.dark-theme` scope. #### --text-- -Which part of this `@property` declaration enforces type checking? +In the following CSS, what happens if a user tries to assign an invalid value to `--padding` (for example, a color instead of a length)? ```css -@property --my-color { - syntax: ""; +@property --padding { + syntax: ""; + initial-value: 0px; inherits: false; - initial-value: red; } ``` #### --distractors-- -`initial-value` +The browser accepts the value but ignores it during layout. --- -`inherits` +The browser throws a runtime error. --- -`--my-color` +The browser converts the value to a valid length automatically. #### --answer-- -`syntax` +The browser falls back to the property's initial value. ### --question--