mix-blend-mode-both-parent-and-blended-with-3D-transform-ref.html (1446B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Reftest Reference</title> 6 <link rel="author" title="Mirela Budăeș" href="mailto:mbudaes@adobe.com"> 7 <link rel="author" title="Ion Roșca" href="mailto:rosca@adobe.com"> 8 <link rel="reviewer" title="Mihai Țică" href="mailto:mitica@adobe.com"> 9 <style type="text/css"> 10 .parent { 11 background: aqua;/*rgb(0,255,255);*/ 12 width: 140px; 13 height: 140px; 14 padding-top: 1px; 15 transform:rotateX(20deg); 16 } 17 .blended { 18 background: fuchsia;/*rgb(255,0,255);*/ 19 margin-top: 20px; 20 margin-left: 20px; 21 width: 200px; 22 height: 200px; 23 transform:rotateX(20deg); 24 } 25 .childOfBlended { 26 background: yellow;/*rgb(255,255,0);*/ 27 width: 120px; 28 height: 122px; 29 } 30 p { 31 will-change: transform; 32 } 33 </style> 34 </head> 35 <body> 36 <p>You should see a fuchsia square overlapping an aqua square. <br> 37 The overlapping area should be yellow. </p> 38 <div class="parent"> 39 <div class="blended"> 40 <div class="childOfBlended"></div> 41 </div> 42 </div> 43 </body> 44 </html>