SOURCE

console 命令行工具 X clear

                    
>
console
<div class="box">
    <div class="left"></div>
    <div class="right"></div>
</div>
.box{
    display: flex;
    align-items: center;
}
.left{
    background-color: red;
    height: 100px;
    width: 200px;
    clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%);
}
.right{
background-color: red;
    height: 100px;
    width: 200px;
    clip-path: polygon(0 0, 100% 0,100% 100%, 40% 100%);
    margin-left: -60px;
}