Skip to content

Commit e2d873e

Browse files
committed
[css-color-5] allow mix percent to default to 50%
1 parent 4ea2d20 commit e2d873e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-color-5/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ Issue(4747): <a href="https://github.com/w3c/csswg-drafts/issues/4747">color-fun
8585
When a plain number or percentage is specified,
8686
it applies to all color channels.
8787

88+
If the plain number or percentage is omitted,
89+
it defaults to 50% (an equal mix of the two colors).
90+
8891
<div class="example">
8992
This example produces a mixture of 40% <span class="swatch" style="--color: peru"></span> peru
9093
and 60% <span class="swatch" style="--color: lightgoldenrod"></span> lightgoldenrod.

0 commit comments

Comments
 (0)