The URL parameter is probably inserted to avoid problems with caching when deploying a new version of that stylesheet. If you append something using the query string
(like ?8), the browser will be tricked into thinking this is a whole other file, so it will discard the cached file and download the new one instead.
The "trick" you are looking for is a CSS sprite. Basicly, every icon is loaded into a single image and the icons in the sprite are used as a background image for a fixed-width container (like an anchor
with display: block;
or a div
). Then, when playing around with the backgound-position
property, different parts of the sprite will be visible.
Read more about CSS sprites in this article.