You’ve heard the term bouncing around the Internet, but still not sure what, why, or how to use CSS Sprites. I’m here to enlighten you on this neat little feature that is sure to help speed up your site. This is part 1 of a 2 part series blog. Part 2 will entail “How To Use CSS Sprites”.
Using the CSS Sprites requires we consolidate all four of our images into one image. I will show you more details on how this is done in part 2. After you have the CSS Sprite image created, you will need to create the new CSS for it. My CSS looked like this:
Now, using the CSS Sprites, we were able to cut down the HTTP requests to 1 and the total file size of all the images to 26 KB. Imagine multiplying that by all the list items you have. It adds up very quickly. In the end, this will reduce on your load time and increase the user experience. Don’t forget, in Part 2, I will show you how to make and use CSS Sprites.
Some text in the modalASDF.
Get actionable insights in just a few minutes by filling out the form and accessing your personalized scorecard!
Please fill out the form to get instant access to the SMT Marketing Systems Scorecard.
* we will not spam, rent, or sell your information... *