css實現遮罩效果以及幀佈局使用

目標 實現一個遮罩效果,效果以下css 實現 <div> <style> #div1 { width:300px; height:180px ; background:url('http://www.codefans.net/jscss/demoimg/wall3.jpg'); position: relative; //重點是這地方一:父容器用相對佈局 } #div2 { h
相關文章
相關標籤/搜索