| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <style> | |
| div { | |
| background-blend-mode: multiply, normal; | |
| width: 200px; | |
| height: 200px; | |
| margin: 10px; | |
| } | |
| #png { | |
| background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green; | |
| } | |
| #jpg { | |
| background: url('resources/ducky.jpg') no-repeat 0 0 /100% 100%, green; | |
| } | |
| </style> | |
| <!-- This file should contain two divs that should perform blending with the background color.--> | |
| </head> | |
| <body> | |
| <div id="png"></div> | |
| <div id="jpg"></div> | |
| </body> | |
| </html> |