*{margin:0;padding:0;} .box1{width:100px;height:50px;background:red;clip-path:polygon(20% 0, 80% 0, 100% 100%, 0 100%)}