边框四边包角样式

.border-wrap {
position: relative;
height: 100%;
padding: 5px;
}
.border_corner {
position: absolute;
background: rgba(0, 0, 0, 0);
border: 3px solid #00FAFF;
}
.border_corner_left_top {
width: var(--width);
height: var(--height);
top: 0;
left: 0;
border-right: none;
border-bottom: none;
border-top-left-radius: 10px;
}
.border_corner_right_top {
width: var(--width);
height: var(--height);
top: 0;
right: 0;
border-left: none;
border-bottom: none;
border-top-right-radius: 10px;
}
.border_corner_left_bottom {
width: var(--width);
height: var(--height);
bottom: 0;
left: 0;
border-right: none;
border-top: none;
border-bottom-left-radius: 10px;
}
.border_corner_right_bottom {
width: var(--width);
height: var(--height);
bottom: 0;
right: 0;
border-left: none;
border-top: none;
border-bottom-right-radius: 10px;
}
<div class="alarm-wrap border-wrap">
<div class="border_corner border_corner_left_top" style="--width: 50px;--height:200px"></div>
<div class="border_corner border_corner_right_top" style="--width: 10px;--height:50px"></div>
<div class="border_corner border_corner_left_bottom" style="--width: 20px;--height:50px"></div>
<div class="border_corner border_corner_right_bottom" style="--width: 100px;--height:100px"></div>
</div>