.box {border: 3px solid transparent;border-radius: 100px;background-clip: padding-box, border-box;background-origin: padding-box, border-box;background-image: linear-gradient(to right, #fff, #fff),linear-gradient(to right, #8f41e9, #578aef);}
效果图:
如果觉得《CSS渐变色圆角边框》对你有帮助,请点赞、收藏,并留下你的观点哦!