Looking for Sprite words early in the morning, I accidentally learned a fascinating little tool from the introduction: bg2css.
I remember reading the Google Chinese homepage more than a year ago.Source codeIt attracts its CSS: The icons used on the entire page are integrated into an image according to certain rules, and are displayed after positioning through CSS where icons are needed, what's even worse, simple CSSCodeCombined with JS Code, the animation effect is amazing. (At that time, I felt that the relevant CSS knowledge I learned was only stuck at the basic application layer. One Hill is higher than the other, and I cannot find a reason to stop the pace of advancement, only keep moving forward .)
That is, at that time, I learned what CSS Sprites is, learned some relevant knowledge, and tried and learned. In learning, the positioning of image coordinates is inconvenient, but now this little tool is designed to solve these problems. Here, I would like to thank "CSS forest. org" and the author "ghost" of bg2css ".
With bg2css download page: http://www.cssforest.org/blog/index.php? S = download