Define Image sprites with context to CSS ?
0
When a set of images is collaborated into one image, it is known as βImage Spritesβ. As the loading every image on a webpage consumes time, using image sprites lessens the time taken and gives information quickly.
CSS coding:
img.add { width: 60px; height: 55px; background: url (image.god) 0 0; }
In this case, only the part needed is used. The user can save substantial margin and time through this.
Sign in to add a comment
0 Answers
0
π No answers yet!
Be the first to answer this interview question.
Your Answer
Sign in to post your answer and help the community.