Design comparison
SolutionDesign
Solution retrospective
What's the best way to place an image on another image? Using one as a div background and the other inside the div Or Using absolute positioning and setting z-index for them accordingly?
Community feedback
- @rfilenkoPosted over 4 years ago
Hey, it really depends on a purpose - sometimes you can use background positions properties to put few images in different spots (article on mdn - https://developer.mozilla.org/en-US/docs/Web/CSS/background-image) or absolutely position them inside some container.
Roman
0
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