SOURCE

console 命令行工具 X clear

                    
>
console
<div class="mian">
    <div class="info">
        <div class="top-content">内容1</div>
        <div class="dashed--line"></div>
         <div class="bottom-content">内容2</div>
    </div>
    <div class="info bigger" ></div>
</div>
<div class="element">


</div>
body{
 background: rgb(245, 225, 161,0.5);
}
.mian{
    position: relative
}
.info{
    background: #fff;
    height: 400px;
    width: 250px;
    margin:16px;
    border-radius: 8px;
    mask:  radial-gradient(13px at 0%  65% , transparent 98%, #fff) intersect,
    radial-gradient(13px at 100%  65% , transparent 98%, #fff)
    ;
     z-index: 1;
    position: absolute;
}
.bigger{
   width: 254px;
     height: 404px;
      background: rgb(248, 196, 147);
      z-index: 0;
      left: -2px;
      top: -2px;
}
.top-content{
    height:calc(65% - 34px);
    padding:16px;
}
.bottom-content{
    padding:16px;
}

.dashed--line {
    --dash: 4px; /* 虚线单段长度 */
    --gap: 10px;  /* 虚线段之间的间距 */
    --size: calc(var(--dash) + var(--gap)); /* 虚线最小单元尺寸 */
    --b: 5px; /* 虚线厚度 */
    --bg: #d4d4d4; /* 虚线颜色 */
    background: linear-gradient(to right, var(--bg) 0, var(--bg) var(--dash),#0000 0) left center / var(--size) var(--b) repeat-x;
    height: var(--b);
}

.element {
 
}