1418945-1-ref.html (324B)
1 <html> 2 <head> 3 <style> 4 div { 5 width: 100px; 6 height: 100px; 7 position:relative; 8 } 9 #first { 10 background-color: red; 11 z-index: 1; 12 } 13 #second { 14 top: -50px; 15 background-color: green; 16 z-index: 1; 17 } 18 </style> 19 </head> 20 <body> 21 <div id="first"></div> 22 <div id="second"></div> 23 </body> 24 </html>