在 http://css-tricks.com/css-sprites/这篇文章中,它讨论了如何从一个较大的图像中裁剪出一个较小的图像。你能告诉我是否有可能/我如何可以裁剪一个较小的图像,然后规模裁剪区域之前,我把它出来?
下面是那篇文章中的一个例子:
A
{
background-image: url(http://www.jaredhirsch.com/coolrunnings/public_images/3deb155981/spriteme1.png);
background-position: -10px -56px;
}
我想知道如何缩放从 spriteme1.png 中裁剪出来的图像
下面是示例的 URL: Http://css-tricks.com/examples/css-sprites/example1after/
所以我想知道,如果我可以使图标旁边的项1,2,3,4小?