Css 如何防止图标/精灵在流体设计中移动

Css 如何防止图标/精灵在流体设计中移动,css,sprite,fluid,Css,Sprite,Fluid,我想阻止我的图标在我的流体设计中移动。页眉对宽度变化做出响应,它占据了大约500像素的高度,应该适合背景的某些区域(在我的例子中是一个带插图的卷轴),但当我调整窗口大小和页眉收缩时,精灵会移动,最终离开卷轴位置。这是为您准备的文章: 它解决了这个问题: "Is there a preferred/suggested way of handling responsive sprites at all for multiple resolutions and image scaling? Is t

我想阻止我的图标在我的流体设计中移动。页眉对宽度变化做出响应,它占据了大约500像素的高度,应该适合背景的某些区域(在我的例子中是一个带插图的卷轴),但当我调整窗口大小和页眉收缩时,精灵会移动,最终离开卷轴位置。

这是为您准备的文章:

它解决了这个问题:

"Is there a preferred/suggested way of handling responsive sprites at all for multiple resolutions and image scaling? Is this even possible?"