Design comparison
SolutionDesign
Solution retrospective
Hello everyone! What is the best way to achieve the hero design? It seems to me that it needs to be of a fixed width to stay aligned with the navigation but then how do you make the hero image stick to the right?
I created a fixed-width flex container to make the text sit on the left and then i created another container with position: absolute to make the image hug the right margin, is there other better approaches?
Also this is the first time ever I tried using sass so the css might be very messy
Thanks!
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