<div>Normal</div>
<div>Multiply</div>
<div>Screen</div>
<div>Overlay</div>
<div>Darken</div>
<div>Lighten</div>
<div>Color-dodge</div>
<div>Color-burn</div>
<div>Hard-light</div>
<div>Soft-light</div>
<div>Difference</div>
<div>Exclusion</div>
$css-blend-modes: normal, multiply,screen,overlay,darken,lighten,color-dodge,color-burn,hard-light,soft-light,difference,exclusion;
body {
background-color: darken(orange, 30%);
}
div{
width: 200px;
height: 150px;
margin: 10px;
text-align: center;
font-size: 1.5em;
line-height: 150px;
display: inline-block;
color: #ccc;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
background-color: #66a;
@for $i from 1 through length($css-blend-modes){
&:nth-child(#{$i}){
mix-blend-mode: nth($css-blend-modes, $i);
}
}
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.