纯CSS实现可自定义间距虚线边框 原文地址:https://blog.csdn.net/HRM2454/article/details/106093882 通过background-image的linear-gradient和position:absolute实现。