Skip to content

Commit ed295f6

Browse files
authored
Support for rgb|rgba(*) format (#20800)
1 parent 58bde24 commit ed295f6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/content/partials/images/background.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,19 @@ Background color to add underneath the image. Applies to images with transparenc
1313
OR
1414

1515
background=red
16-
```
16+
17+
OR
18+
19+
background= rgb%28240%2C40%2C145%29
20+
```
1721
</TabItem>
1822
<TabItem label="Workers">
1923
```js
2024
cf: {image: {background: "#RRGGBB"}}
25+
26+
OR
27+
28+
cf:{image: {background: "rgba(240,40,145,0)"}}
2129
```
2230
</TabItem>
2331
</Tabs>

0 commit comments

Comments
 (0)