As shown in figure
.box{ position: absolute; top: 315px; right: 30px; Box-shadow: 0px 0px 140px Rgba (102, 109, 128, 0.2); width: 228px; height: 168px; z-index: 12; background:#fff;border-radius: 20px; display: flex; flex-direction: column; justify-content: center; border-top-right-radius: 0; }. Box :before{box-shadow: inset 0 12px 12px-12px rgba(102, 109, 128, 0.2); content:' ';
position: absolute;
right: -24.6px;
top: -26px;
width: 50px;
height: 50px;
background: #ffffff;
background: linear-gradient(to bottom right, # FFF 50%, rgba (102, 109, 128, 0.2) 52%, rgba (0, 0, 0, 0) 52%).
transform: rotate(-45deg);
}
Copy the code
How everybody who still has better realization train of thought can leave a message to discuss ~ ~