CSS background-blend-mode प्रॉपर्टी प्रत्येक बैकग्राउंड लेयर के ब्लेंडिंग मोड को सेट करती है, जैसे कि एकाधिक बैकग्राउंड इमेज या रंग कैसे मिश्रित होते हैं।
उदाहरण
<!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>
व्याख्या: दो बैकग्राउंड इमेज पर background-blend-mode: darken लागू किया गया है, जिससे केवल गहरे पिक्सेल दिखाई देते हैं। अन्य मोड में multiply, screen, overlay, आदि शामिल हैं।