.border{ background-image:linear-gradient(180deg, #F73125, #F73125 47%, transparent 50%), linear-gradient(270deg, #F73125, #F73125 49%, transparent 50%), linear-gradient(0deg, #F73125, #F73125 50%, transparent 50%), linear-gradient(90deg, #F73125, #F73125 50%, transparent 50%); background-size: 100% 1px,1px 100% ,100% 1px, 1px 100%; background-repeat: no-repeat; background-position: top, right top, bottom, left top; }
移动端实现四条边框1px粗线
猜你喜欢
转载自blog.csdn.net/chiuwingyan/article/details/80364906
今日推荐
周排行