Design comparison
SolutionDesign
Solution retrospective
Is there a performance difference when using an image using the background-image property or the img tag?
Community feedback
- @godmayhem7Posted almost 2 years ago
@lcabrera13 about the question you asked the answer is yes they are really different, the img-tag(<img>) element is for images that are part of the content, while CSS background images are purely decorative, hope this feedback was helpful ππ
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord