Home > Web Front-end > HTML Tutorial > The way of putting all the pictures into one picture_html/css_WEB-ITnose

The way of putting all the pictures into one picture_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 11:38:31
Original
1372 people have browsed it

In order to speed up loading, put all the required images on one image, and then display the specified area through CSS control.
Ask, how do you determine the area to be used? Calculate pixel offset?


Reply to discussion (solution)

background-position

CSS sprite
http://css.v2bo.com /

There are two ways, one is similar to fis, which is automatically calculated,
the other is manually measured in PS, and then calculated one by one.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template