split-intersect1-ref.html (575B)
1 <!DOCTYPE html> 2 <html> 3 4 <head> 5 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 6 <meta charset="utf-8"> 7 <title>Split intersect 1 ref</title> 8 9 <style> 10 .container { 11 margin: 0 0; 12 width: 400px; 13 height: 400px; 14 } 15 16 .shape { 17 margin: 0 0; 18 position: absolute; 19 20 width: 50px; 21 height: 100px; 22 } 23 24 .first { 25 background-color: rgba(255,0,0,1); 26 left: 58px; 27 } 28 29 .second { 30 background-color: rgba(0,255,0,1); 31 } 32 </style> 33 </head> 34 35 <body> 36 <div class="container"> 37 <div class="shape first"></div> 38 <div class="shape second"></div> 39 </div> 40 </body> 41 </html>