半透明边框 默认情况下,背景会延伸到边框所在的区域下层.可以通过background-clip属性调整该默认行为. border: 10px solid rgba(0,0,0,.2) background: blue; background-clip: padding-box; 多重边框 box-shadow box-shadow支持逗号分隔语法,可以创建任意数量的投影. background: yellowgreen; box-shadow: 0 0 0 10px #655, 0 0 0 20…