Design comparison
Solution retrospective
Is it fine to give the image fixed dimensions? Is it fine to give maximum dimensions for containers.. is this the best practice? Is my solution responsive? why when I give the purple div width 100% it doesn't take the full width of image div? was there any solution to make the image look purple rather than making purple div? why I should enter dev tools and select mobile device to make the media query work? Please let me know, and sorry for the spaghetti code.
Community feedback
- @correlucasPosted over 2 years ago
👾Hello Gigachad! Congrats for this giga solution!
Answering your question:
Your solution is responsive and works fine, but there's a little issue with the
stats section
note that when your component is scaling down, the bottom information start to crop due theoverflow: hidden;
inside the class.info
.To make your solution eve more GIGA, you can apply the proper overlay effect using
mix-blend-mode
and use the<picture>
tag to wrap both desktop and mobile images all inside the html, this tag allows you to change the photo in base of the screen/device.To apply the overlay effect on the image:
img { mix-blend-mode: multiply; opacity: .8; }
Hope it helps GIGA, keep it up!
Marked as helpful1 - @BrunoeSousaAlencarPosted over 2 years ago
Acho que seria muito útil você estudar media query, sua pagina não está muito responsiva.
0
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