Design comparison
SolutionDesign
Solution retrospective
Any tip would help a lot, I'm a beginner and would like to gain experience. The overflow: hidden; is not working on mobile, if anyone knows how to disable scrolling on mobile, it would help a lot.
Community feedback
- @osoriodevPosted almost 3 years ago
Hello @VictorGelado π
To solve the problem, you can do this:
- Add
position: relative
to the wrapper, this way the images will be positioned with respect to this element - It also changes the attribution styles for these, so it looks good on mobile devices.
.attribution { width: 100%; position: absolute; left: 0; bottom: 4px; text-align: center; font-size: 16px; color: #fff; z-index: 4; }
I hope I've helped π
0 - Add
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