<div style="background-image:url(这里填写图片的路径});background-repeat: no-repeat;background-position:center center;
width:165px;height:105px;background-size: cover;">
</div>
CSS 图片居中显示不变形,显示图片中间部分
![知识共享许可协议](https://blog.ninvfeng.com/usr/themes/Kratos/images/licenses.png)
<div style="background-image:url(这里填写图片的路径});background-repeat: no-repeat;background-position:center center;
width:165px;height:105px;background-size: cover;">
</div>