将您的背景图像合并为单个图像并使用CSS背景图像及背景位置要显示所需的图像段的属性。
Combine your background images into a single image and use the CSS background-image and background-position properties to display the desired image segment.
背景属性载入精灵图片,然后设置背景图位置为负值(其必为负)。
The background attribute loads the sprite and then sets the background position to 336 pixels over - it must be negative.
背景属性载入精灵图片,然后设置背景图位置为负值(其必为负)。
The background attribute loads the sprite and then sets the background position to 336 pixels over - it must be negative.
应用推荐