<div class="inputReportIndex"> <div class="inner"> <div class="left"> <Card :bordered="false" style="height: 48%;">1</Card> <div style="height: 4%;"></div> <Card :bordered="false" style="height: 48%;">1</Card> </div> <div class="right"> <Card :bordered="false"> <!--<div style="background-color: aqua; 100%; height: 100%;"></div>--> </Card> </div> </div> </div>
.inputReportIndex { display: flex; justify-content: center;align-items: center; 100%; height: 100%; .inner { 88%; height: 88%; .left{ 62%; height: 100%; float: left; } .right{ 35%; height: 100%; float: right; > .ivu-card { height: 100%; position: relative; > .ivu-card-body { height: 100%; position: relative; z-index: 99; } &::after { content: ""; position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%) rotate(45deg); 25px; height: 25px; background: #fff; transition: all 0.2s ease-in-out; } &:hover::after { box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.11); } } } } }