We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a918124 commit 00fd5f7Copy full SHA for 00fd5f7
css-color-5/Overview.bs
@@ -133,9 +133,9 @@ Mixing colors: the ''color-mix()'' function {#color-mix}
133
5. Otherwise, if both are provided but do not add up to 100%,
134
they are scaled accordingly so that they add up to 100%.
135
This means that
136
- <var>p1</var> becomes <var>p1</var> / <var>p1</var> + <var>p2</var>
+ <var>p1</var> becomes <var>p1</var> / (<var>p1</var> + <var>p2</var>)
137
and
138
- <var>p2</var> becomes <var>p2</var> / <var>p1</var> + <var>p2</var>.
+ <var>p2</var> becomes <var>p2</var> / (<var>p1</var> + <var>p2</var>).
139
140
Issue: Should we handle p1 + p2 < 100% differently? E.g. a mix with `transparent`?
141
0 commit comments