Generator CSS sprites

Web-master / Resources / Services webmaster

Generator CSS sprites

For example, we have to the site a lot of small pictures:
  • small flags of the languages of the channel,
  • logos of TV channels,
  • social networking icons,
  • player icons.
A total of more than 1,000 small and very light pictures. But it took time to load the page, because every little thing is going to the server. The server does not exceed 5 hits at a time. And who likes to stand in line.

In order to facilitate the loading of pictures - we combined groups of small pictures into one and it turned out to be only 10 pictures. Each has its own coordinates and displays the desired properties based on the coordinates and size of the CSS properties.

Example pictures

English

reliable site

email: draeton@gmail.com
address: USA, Laie

CSS Sprite Generator

Service from Projectfondue, CSS sprite generator.

How it works

  1. We collect the required pictures in a folder (well, it's more convenient for me personally).
  2. Click on the site blue menu item CLEAR to remove the existing icons for the example.
  3. Customize:
    • You specify the distance between the pictures, and to the edge. They offered 50 right away, but that's a lot. Zero did not pass, then we put 1, which is quite enough.
    • You can set the background color or make it transparent.
    • Names to variables will be assigned by the names of pictures in the archive. In the form, you can add a prefix or suffix to all the names, or leave the field blank.
    • You can make a picture compact, vertical or horizontal.
  4. Drag and drop files from our folder into this field.
  5. Once your icons have become clear, not pale and flickering, as in the beginning, the sprite is ready.
  6. Click the green Download button, followed by the green Spritesheet and Stylesheet buttons.
  7. The resulting text is corrected for our site.
This technique can be very effective in improving the performance of the site, especially in situations where many small images, such as menu icons, are used. Yahoo !, for example, uses this technique for this.



CSS Sprites Generator

Drag in the field of the image or select by clicking the Choose files button.
As a result, we get a picture of the sprite in .PNG and CSS code, which obviously is worth doping itself, because you will get a complete code for each image.



Russian
address: Chile
Drag in the field of the image or select by clicking the Choose files button.
As a result, we get a picture of the sprite in .PNG and CSS code, which obviously is worth doping itself, because you will get a complete code for each image.