标签:
1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <style> 7 *{margin:0;padding:0} 8 #div1{background:black;display: inline-block} 9 .img{width:100px;height:100px;background: #f0f;overflow: hidden} 10 .icon{width:30px;height:30px;background: #0ff;margin:-90px 0 0 60px} 11 </style> 12 </head> 13 <body> 14 15 <div id="div1"> 16 <div class="img"> 17 </div> 18 <div class="icon"></div> 19 </div> 20 21 </body> 22 </html>
标签:
原文地址:http://www.cnblogs.com/suoking/p/5369022.html