Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用该background-size属性定义背景的大小:
background-size
background-size: 87px 76px;
来源
MDN - CSS 背景 MDN - CSS 背景大小
简单的,
创建相同大小的图像。height:76px; width:87px;
height:76px; width:87px;
那么它就不会伸展。