1
什么是以下box-shadow
代码IE 8+兼容CSS代码:如何在IE 8+中实现插入框阴影?
.border {
height: 100px;
width: 100px;
-webkit-box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.1);
-moz-box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.1);
box-shadow: inset 0 0 0 1px hsla(0,0%,0%,.1);
}
HTML:
<div class="border" style="background: url(http://c.saavncdn.com/UNI-04945-150x150.jpg);"></div>
尝试[PIE](http://css3pie.com/),它应该有所帮助。 –
请注意,在IE 9中'box-shadow'可以正常工作。 –