Design comparison
SolutionDesign
Solution retrospective
Making this page responsive gave me a headache, it took me a while to get the page centered, but I did it. Thank you if you can help by giving suggestions / improvements to the page.
Community feedback
- @juandadevPosted over 4 years ago
Hello, your page looks fine! Just it's better to put the image as a background with CSS and not as an img tag because it resizes when you shrink the screen and looks so bad.
- Instead of putting an
<img>
tag just add a<div>
then adjust the size with CSS and you can use thebackground-image: url(/path_to_image.jpg)
andbackground-size: cover
. You can change the position of the image inside tho.
1 - Instead of putting an
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