Design comparison
SolutionDesign
Solution retrospective
I don't know how to add another photo to the mobile version.
Community feedback
- @sarrietav-devPosted almost 2 years ago
Or you could use a media query with the background-image property.
This is the tailwind way to do it:
bg-[url('./image/*.jpg')]
// For mobilelg:bg-[url('./image/*.jpg')]
// For desktopMarked as helpful0 - @SinisaVukmirovicPosted almost 2 years ago0
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