Responsive Meet landing page HTML/CSS

Solution retrospective
I'm most proud of finding a clean solution for the hero section with the overlapping images. By restructuring the HTML and using CSS Grid effectively, I achieved the visual effect without resorting to absolute positioning or other hacky techniques. Next time, I would start with a more thorough analysis of the desktop layout before writing any HTML structure. This would have saved me from having to refactor my code after realizing my initial structure wouldn't work for all viewports.
What challenges did you encounter, and how did you overcome them?The biggest challenge was positioning the hero images to extend slightly beyond their containers without causing horizontal scrolling. Initial approaches using transforms or negative margins created unwanted scrollbars. I overcame this by:
- Restructuring my HTML to create a better foundation
- Using a grid layout with precise control over image sizing
- Learning about browser-specific overflow properties
- Using the justify-self property to position elements within their grid cells
Another challenge was applying a colored overlay to images. I solved this with pseudo-elements and CSS variables rather than directly modifying the images, which maintained better separation of concerns.
What specific areas of your project would you like help with?I'd appreciate feedback on:
- Performance optimization for the responsive images implementation
- Best practices for cross-browser compatibility, especially for overflow handling
- Ways to improve accessibility for the text overlaid on images
- More elegant solutions for creating spacing between grid items
- Techniques for testing that the correct responsive images are loading at different breakpoints
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kyle Mulqueen's solution.
Join 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