Compatible with the border shadow effect of earlier versions of IE, and border shadow of IE
Compatible with the border shadow effects of earlier ie browsers:
You can use the box-show attribute to implement the border shadow effect. However, browsers under IE8 and IE8 do not support this attribute, but the following methods can be used. Of course, there are many fully compatible methods, the following is a simple method. The code example is as follows:
<! DOCTYPE html>
The above code implements the simulated shadow effect. Of course, it is rough, but it can still meet the requirements under certain circumstances.
The principle is simple: Set the background color of the div and p, set the p element to relative positioning, and set the left and top attribute values so that the two elements can be staggered, the background color of the div at the bottom is displayed, and the shadow effect is achieved.
Original address: http://www.51texiao.cn/HTML5jiaocheng/2015/0521/2137.html