<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
.box{
position: relative;
margin: 0 auto;
width: 200px;
height: 40px;
background: lightblue;
clip-path: polygon(0 0,100% 0,70% 50%,100% 100%,0 100%,0 0);
}
.box::before{
content: 'a';
position: absolute;
left: 0;
bottom: 0;
}
</style>
<body>
<div class="box"></div>
<div>从左上角(0% 0%)开始,右下角(100% 100%)结束,画出的图形</div>
</body>
</html>
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/d180c2973de1c654e6f2c53ce65ef5a6.png)