div {
width: 313px;
height: 200px;
border: 20px solid red;
// 设置边框显示的图片
border-image-source: url(图片地址);
// 切割图片
border-image-slice: 20;
// 切割显示
border-image-repeat: round; // stretch 拉伸, repeat 平铺, round 铺满
}
div {
width: 313px;
height: 200px;
border: 20px solid red;
// 设置边框显示的图片
border-image-source: url(图片地址);
// 切割图片
border-image-slice: 20;
// 切割显示
border-image-repeat: round; // stretch 拉伸, repeat 平铺, round 铺满
}