border边框与背景
规范提到 边框绘制在“元素的背景之上”
如下:
设置边框透明会显示背景
.book .wrap div{ position: absolute; right:120px; top:33px; /* box-sizing:border-box; */ width: 130px; height: 34px; background-color: #000; line-height:34px; text-align:center; border:2px dotted rgba(255,255,255,1); box-shadow:0 0 0 1px rgba(0,0,0,0),0 0 0 3px #555;
![](https://images2015.cnblogs.com/blog/1034027/201705/1034027-20170518103114932-1047275572.png)