From 34fffce96f5a08eb7ff0fc2fc982d58108211cf4 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Wed, 18 Dec 2024 22:15:36 +0800 Subject: [PATCH] feat(css): Update syntax for `background-clip` --- css/properties.json | 2 +- css/syntaxes.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/css/properties.json b/css/properties.json index fb75341e8..b35f7b8ec 100644 --- a/css/properties.json +++ b/css/properties.json @@ -2240,7 +2240,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/background-blend-mode" }, "background-clip": { - "syntax": "#", + "syntax": "#", "media": "visual", "inherited": false, "animationType": "repeatableList", diff --git a/css/syntaxes.json b/css/syntaxes.json index e1d64502f..283633df1 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -74,6 +74,9 @@ "basic-shape": { "syntax": " | | | | " }, + "bg-clip": { + "syntax": " | border-area | text" + }, "bg-image": { "syntax": "none | " },