
Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
The hero images on desktop. I was able to get have them expand outside the width of the screen using negative margins. Then at 1440px I used clamp()
to reduce the negative margins to 0 otherwise the screen continues expanding and reveals the clipped portion of the images which looks ugly. It works but I wonder if there is a better way to achieve this.
Community feedback
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