Skip to content

Commit ceda934

Browse files
committed
[css-color-5] Change color-mix() grammar so that color space cannot be in the middle and that percentage can
1 parent fd77d03 commit ceda934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-color-5/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Mixing colors: the ''color-mix()'' function {#color-mix}
121121

122122

123123
<pre class='prod'>
124-
<dfn>color-mix()</dfn> = color-mix( in <<colorspace>> && <<color>>{2} && [ <<percentage>> ]?)
124+
<dfn>color-mix()</dfn> = color-mix( in <<colorspace>> && [ <<color>> && <<color>> && [ <<percentage>> ]? ])
125125
</pre>
126126

127127
If a percentage is omitted, it defaults to 50% (an equal mix of the two colors).

0 commit comments

Comments
 (0)