From 9d7f2bf6acc810baa851c8603181a21026afc721 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 3 Mar 2021 19:13:13 -0500 Subject: [PATCH] fix: HTML validation issue --- files/en-us/web/css/css_houdini/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;
 }