mix-blend-mode-blended-with-3D-transform-ref.html (1397B)
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 position:relative; 16 z-index: 1; 17 } 18 .blended { 19 background: fuchsia;/*rgb(255,0,255);*/ 20 margin-top: 20px; 21 margin-left: 20px; 22 width: 200px; 23 height: 200px; 24 transform:rotateX(20deg); 25 } 26 .childOfBlended { 27 background: yellow;/*rgb(255,255,0);*/ 28 width: 120px; 29 height: 122px; 30 } 31 </style> 32 </head> 33 <body> 34 <p>You should see a fuchsia square overlapping an aqua square. <br> 35 The overlapping area should be yellow. </p> 36 <div class="parent"> 37 <div class="blended"> 38 <div class="childOfBlended"></div> 39 </div> 40 </div> 41 </body> 42 </html>