diff --git a/curriculum/challenges/english/blocks/review-css-variables/671a98fbaabfba994e3d9a7c.md b/curriculum/challenges/english/blocks/review-css-variables/671a98fbaabfba994e3d9a7c.md index 26b216bf81d..95337b467bd 100644 --- a/curriculum/challenges/english/blocks/review-css-variables/671a98fbaabfba994e3d9a7c.md +++ b/curriculum/challenges/english/blocks/review-css-variables/671a98fbaabfba994e3d9a7c.md @@ -5,7 +5,7 @@ challengeType: 31 dashedName: review-css-variables --- -# --description-- +# --interactive-- ## CSS Custom Properties (CSS Variables) @@ -46,7 +46,11 @@ body { - **`initial-value`**: This sets the default value of the property. - **Gradient Example Using the `@property` Rule**: This example creates a gradient that smoothly animates when the element is hovered over. +:::interactive_editor + ```html + +
``` @@ -69,6 +73,8 @@ body { } ``` +::: + - **Fallbacks**: When using the custom property, you can provide a fallback value using the `var()` function, just as you would with standard custom properties: ```css