Skip to content

Commit

Permalink
Add plus-darker and plus-lighter to the example section
Browse files Browse the repository at this point in the history
  • Loading branch information
SelenIT authored Dec 19, 2023
1 parent 92e6132 commit 11646ab
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions files/en-us/web/css/mix-blend-mode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,32 @@ mix-blend-mode: unset;
</div>
</div>
</div>
<div class="cell">
plus-darker
<div class="container plus-darker">
<div class="group">
<div class="item firefox"></div>
<svg class="item" viewBox="0 0 150 150">
<ellipse class="item R" cx="75" cy="75" rx="25" ry="70"></ellipse>
<ellipse class="item G" cx="75" cy="75" rx="25" ry="70"></ellipse>
<ellipse class="item B" cx="75" cy="75" rx="25" ry="70"></ellipse>
</svg>
</div>
</div>
</div>
<div class="cell">
plus-lighter
<div class="container plus-lighter">
<div class="group">
<div class="item firefox"></div>
<svg class="item" viewBox="0 0 150 150">
<ellipse class="item R" cx="75" cy="75" rx="25" ry="70"></ellipse>
<ellipse class="item G" cx="75" cy="75" rx="25" ry="70"></ellipse>
<ellipse class="item B" cx="75" cy="75" rx="25" ry="70"></ellipse>
</svg>
</div>
</div>
</div>
</div>

<div class="note">Blending globally (blend with the background)</div>
Expand Down Expand Up @@ -504,6 +530,32 @@ mix-blend-mode: unset;
</div>
</div>
</div>
<div class="cell">
plus-darker
<div class="container plus-darker">
<div class="group">
<div class="item firefox"></div>
<svg class="item" viewBox="0 0 150 150">
<ellipse class="item R" cx="75" cy="75" rx="25" ry="70"></ellipse>
<ellipse class="item G" cx="75" cy="75" rx="25" ry="70"></ellipse>
<ellipse class="item B" cx="75" cy="75" rx="25" ry="70"></ellipse>
</svg>
</div>
</div>
</div>
<div class="cell">
plus-lighter
<div class="container plus-lighter">
<div class="group">
<div class="item firefox"></div>
<svg class="item" viewBox="0 0 150 150">
<ellipse class="item R" cx="75" cy="75" rx="25" ry="70"></ellipse>
<ellipse class="item G" cx="75" cy="75" rx="25" ry="70"></ellipse>
<ellipse class="item B" cx="75" cy="75" rx="25" ry="70"></ellipse>
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -638,6 +690,12 @@ body {
.luminosity .item {
mix-blend-mode: luminosity;
}
.plus-darker .item {
mix-blend-mode: plus-darker;
}
.plus-lighter .item {
mix-blend-mode: plus-lighter;
}
```

{{EmbedLiveSample("Effect_of_different_mix-blend-mode_values", "100%", "1600px")}}
Expand Down

0 comments on commit 11646ab

Please sign in to comment.