//html 的?<!DOCTYPE html><html> <head> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id = "noLucency">No Lucency</div> <div id = "lucency">50%</div> <div id="wrapper" style="font-style:normal">111111111111</div> </body></html>//外置的 ?.css 文件 body{ background-color:black; } #noLucency{ background-color: white; width: 200px; height: 200px; border:0; margin:auto; } #lucency{ background-color: white;? width: 200px; height: 200px; border:0; margin:auto; margin-top:50px; <!--透明度--> filter:alpha(opacity=10); ?/*IE濾鏡,透明度50%*/ -moz-opacity:0.1; /*Firefox私有,透明度50%*/ opacity:0.9;/*其他,透明度50%*/ } ?? ? ? ? #wrapper { background-color: white;? width: 200px; height: 200px; border:0; margin:auto; margin-top:50px; <!--透明度--> filter:alpha(opacity=10); ?/*IE濾鏡,透明度50%*/ -moz-opacity:0.1; /*Firefox私有,透明度50%*/ opacity:0.1;/*其他,透明度50%*/? ? ? ? }/* CSS Document */
我想用外置的.css文件 來(lái)控制圖片的 透明度 但是沒(méi)有成功為什么呀 在內(nèi)置的時(shí)候就成功了 一調(diào)用就不好使
慕尼黑9372261
2016-04-13 16:15:30