1 DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 2 "http://www.w3.org/TR/html4/loose.dtd" > 3 html xmlns ="http://www.w3.org/1999/xhtml" > 4 head > 5 meta http-equiv ="Content-Type" content ="text/html; charset=utf-8" /> 6 title > 全屏遮罩 title > 8 head > 9 10 body > 11 style > 12 .float-bg { 13 width : 100% ; 14 height : 100% ; 15 background-color : #000 ; 16 opacity : .6 ; 17 filter : alpha(opacity=60) ; 18 position : absolute ; 19 left : 0 ; 20 top : 0 ; 21 z-index : 1100 ; 22 } 23 style > 24 div class ="float-bg" id ="float-bg" > div > 25 body > 26 html >
查看更多关于【前端】-全屏遮罩-MR.Huangjw的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did115853