代码:
.list-img {
position: relative;
z-index: 1;
overflow: hidden;
height: 154px;
text-align: center;
border-radius: 5px;
border:1px solid red;
border-bottom-left-radius: 50px;
margin-bottom: 24px;
image {
width: 100%;
}
}
//这三行很关键
position: relative;
z-index: 1;
overflow: hidden;
效果对比图:
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/86672e76a1a750bea0c4e3a03ac6e485.png)