How To Use CSS Sprites: An Ingenious Way of Reducing Page Loading timeby@tirthajyoti-ghosh
452 reads
452 reads

How To Use CSS Sprites: An Ingenious Way of Reducing Page Loading time

by Tirthajyoti Ghosh4mFebruary 20th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

CSS Sprites is a simple way to load all the images together instead of requesting each of them multiple times. The technique is inspired by a technique in computer graphics, most often used in video games. The idea was that the computer could fetch a graphic into memory, and then only display parts of that image at a time, which was faster than having to continually fetch new images. The magic happens with the background-image property in CSS and some foresight with a pinch of arithmetic.Here is the live demo of the new CSS sprites.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How To Use CSS Sprites: An Ingenious Way of Reducing Page Loading time
Tirthajyoti Ghosh HackerNoon profile picture
Tirthajyoti Ghosh

Tirthajyoti Ghosh

@tirthajyoti-ghosh

Preparing to be The Change

Learn More
LEARN MORE ABOUT @TIRTHAJYOTI-GHOSH'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Tirthajyoti Ghosh HackerNoon profile picture
Tirthajyoti Ghosh@tirthajyoti-ghosh
Preparing to be The Change

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite