<style type="text/css">
.div2{
width: 50%;
height:200px;
background: #99b4d3;
-webkit-clip-path: polygon(0 0, 76% 0, 24% 100%, 0% 100%);
clip-path: polygon(0 0, 76% 0, 24% 100%, 0% 100%);
}
</style>
<div class="div2"></div>
CSS实现div斜边
最新推荐文章于 2024-02-21 20:49:08 发布