好的,我可以使用以下方法为透明 png 添加阴影:
.drop-shadow
{
-webkit-filter: drop-shadow (0 1px 2px rgba(0,0,0,.5));
-moz-filter: drop-shadow (0 1px 2px rgba(0,0,0,.5));
-ms-filter: drop-shadow (0 1px 2px rgba(0,0,0,.5));
-o-filter: drop-shadow (0 1px 2px rgba(0,0,0,.5));
filter: drop-shadow (0 1px 2px rgba(0,0,0,.5));
}
(至少在某些浏览器上)
然后我将如何更改代码以显示嵌入阴影?