.focus-border {
overflow: hidden;
width: 100px;
height: 100px;
border: 4px solid;
border-radius: 10px;
/* 核心代码 */
-webkit-mask: conic-gradient(from -90deg at 40px 40px, red 90deg, transparent 0deg);
-webkit-mask-position: -20px -20px;
}
::: tip 相关资料
:::