Css sprite in footer

hey there,
I’am currently reducing the requests on my site. thats why I’am using a css sprite.
Currently I got difficulties adding the sprite class to the image element of the footer.
How to I add the class the correct way to display my image

this is where I want to replace the image with the one of the sprite that I added to my footers css on my page

the sprite class would be
.zerotoone-google-zukunftswerkstatt-fuer-deutschland
in the case of the google logo

thanks for your help!

Hi there,

Thanks for writing in.

You can only use sprite images as a background image and not for the actual image element. https://www.w3schools.com/css/css_image_sprites.asp

Hence, it’s not possible, unless you’ll add them as background.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.