代码示例:(标识:cssref_mix-blend-mode)
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.container {
  background-color: red;
  padding: 15px;
}

.container img {
  mix-blend-mode: darken;
}
</style>
</head>
<body>

<h1>mix-blend-mode 属性</h1>
<p>mix-blend-mode 属性规定元素内容如何与其背景混合:</p>

<div class="container">
  <img src="/static/demo/images/tulip.jpg" alt="Tulip" width="300" height="300">
</div>

</body>
</html>
运行结果: