图片裁切展示css

.wen_photo{
overflow:hidden;
}
.wen_photo img{
margin:0;
padding:0;
width:100%;
height: 100%;
object-fit: cover;
}

posted @ 2019-01-11 13:57  陈扬天  阅读(111)  评论(0编辑  收藏  举报