Sử dụng background-blend-mode thuộc tính để thiết lập chế độ hòa trộn của mỗi lớp nền với CSS. Bạn có thể thử chạy mã sau để triển khai thuộc tính background-blend-mode và đặt chế độ này thành tối
Ví dụ
<!DOCTYPE html>
<html>
<head>
<style>
#myDIV {
width: 250px;
height: 170px;
background-repeat: no-repeat, repeat;
background-image:url("https://www.tutorialspoint.com/assets/videotutorials/courses/3d_animation_online_training/380_course_211_image.jpg"),url( https://www.tutorialspoint.com/latest/dc.js.png);
background-blend-mode: darken;
}
</style>
</head>
<body>
<h1>Set Blend Mode</h1>
<div id = "myDIV"></div>
</body>
</html>