The pros and cons of CSS Sprites (CSS sprites)

Source: Internet
Author: User

Advantages of CSS Sprites:
1. Reduce the byte of the picture
2. Reduce the HTTP request of the webpage, which greatly improves the performance of the page.
3. Solve the problem of Web designers in the name of the picture, just a set of pictures on the name on it, do not need to name every small element, thus improving the production efficiency of the page.

Disadvantages of CSS Sprites:
1.CSS Sprites in the maintenance of time is more troublesome, if the page background has a little change, generally want to change this merged picture, need not change the place best not move, so avoid changing more CSS, if in the original place, and can only (best) add pictures, This increases the number of bytes in the image and changes the CSS.

The pros and cons of CSS Sprites (CSS sprites)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.