diff --git a/files/en-us/web/css/css_houdini/index.html b/files/en-us/web/css/css_houdini/index.html index 87d90ea869d6f63..f7224f0236bf04a 100644 --- a/files/en-us/web/css/css_houdini/index.html +++ b/files/en-us/web/css/css_houdini/index.html @@ -32,7 +32,7 @@

Basic example

Using {{cssxref("@property")}} however, we can declare the custom property with a {{CSSxRef("@property/syntax","syntax")}} of <color>. This shows that we need this property to have a value which is a valid color.

@property --background-color {
-  syntax: '';
+  syntax: '<color>';
   inherits: false;
   initial-value: blue;
 }