From 97065b2e68dd8768dc1ea092c893c57ebe205026 Mon Sep 17 00:00:00 2001
From: Peter Bengtsson
<div id="div"></div>-
#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -44,9 +43,8 @@ translation_of: Web/CSS/blend-mode The effect is similar to two images printed on transparent film overlapping.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -64,9 +62,8 @@ translation_of: Web/CSS/blend-mode The effect is similar to two images shone onto a projection screen.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -81,9 +78,8 @@ translation_of: Web/CSS/blend-modeThe final color is the result of multiply
if the bottom color is darker, orscreen
if the bottom color is lighter.
This blend mode is equivalent tohard-light
but with the layers swapped.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -99,9 +95,8 @@ translation_of: Web/CSS/blend-modeThe final color is a color composed of the darkest values per color channel.
-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -117,9 +112,8 @@ translation_of: Web/CSS/blend-modeThe final color is a color composed of the lightest values per color channel.
-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -137,9 +131,8 @@ translation_of: Web/CSS/blend-mode This blend mode is similar to screen, but the foreground need only be as light as the inverse of the backdrop to reach a fully lit color.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -157,9 +150,8 @@ translation_of: Web/CSS/blend-mode This blend mode is similar to multiply, but the foreground need only be as dark as the inverse of the backdrop to make the final image black.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -177,9 +169,8 @@ translation_of: Web/CSS/blend-mode The effect is similar to shining a harsh spotlight on the backdrop.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -197,9 +188,8 @@ translation_of: Web/CSS/blend-mode The effect is similar to shining a diffused spotlight on the backdrop.
-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -216,9 +206,8 @@ translation_of: Web/CSS/blend-mode A black layer has no effect, while a white layer inverts the other layer's color.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -235,9 +224,8 @@ translation_of: Web/CSS/blend-mode As withdifference
, a black layer has no effect, while a white layer inverts the other layer's color.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -253,9 +241,8 @@ translation_of: Web/CSS/blend-modeThe final color has the hue of the top color, while using the saturation and luminosity of the bottom color.
-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -272,9 +259,8 @@ translation_of: Web/CSS/blend-mode A pure gray backdrop, having no saturation, will have no effect.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -291,9 +277,8 @@ translation_of: Web/CSS/blend-mode The effect preserves gray levels and can be used to colorize the foreground.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), @@ -310,9 +295,8 @@ translation_of: Web/CSS/blend-mode This blend mode is equivalent to color, but with the layers swapped.-<div id="div"></div>-#div { +#div { width: 300px; height: 300px; background: url('https://mdn.mozillademos.org/files/8543/br.png'), -- cgit v1.2.3-54-g00ecf