Desktop-First solution using Flexbox

Please log in to post a comment
Log in with GitHubCommunity feedback
- @stephenikuomola
I was finally able to come up with the solution to my problem which I occured in my first attempt of this project thanks to stackoverflow. So I decided to do the project again and this time I added an attribute to the svg element which is
preserveAspectRatio="none"
. I used this as I noticed that the background-image was not giving me the correct positioning I needed across other browsers like Safari.
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