不使用border-image实现线框渐变及圆角

在实际开发中,CSS中 border 用了border-image,用border-radius圆角就会失效,因此能够经过伪元素::before或者::after,使用背景线性渐变模拟实现。css .border-test { width: 200px; height: 200px; position: relative; border: 4px solid transparent; b
相关文章
相关标签/搜索