摘要:
*{ margin: 0px; padding: 0px;}div{ width: 300px; height: 300px;}#div1{ background: rgba(255,0,0,0.5); position: relative; left: 50px;z-index: 2}#div2{ 阅读全文
摘要:
*{ padding: 0px; margin: 0px;}#div2{ background: green; padding: 15px; width: 200px; display: inline-block; /*vertical-align: baseline; vertical-align 阅读全文
摘要:
#div1{ background: rgba(255,0,0,0.5); width: 250px; height: 250px; float: right;}#div2{ background: rgba(0,255,0,0.5); width: 250px; height: 200px; fl 阅读全文