Responsive Coming Soon Page with Sass and CSS grid
Design comparison
Solution retrospective
Any feedback is appreciated
Community feedback
- @Victor-VillacisPosted about 4 years ago
Meaning the image is stretching out whenever the view-port changes. You have this code on the image
.coming-soon__hero-img-mobile img { width: 100%; }
so the image is always taking up 100% width and stretching to fit, look into using the picture tag -> https://www.w3schools.com/tags/tag_picture.asp after I would try to adjust the vw and vh, if not just make sure the image is not stretching out. Good luck!
2@JaimeAlonzoPosted about 4 years ago@Victor-Villacis hey thats a really awsome tip :) thank you so much
0 - @Victor-VillacisPosted about 4 years ago
This is an awesome solution, it is like 1:1 comparison. The only thing I would say is try to adjust the girl image. She seems to be stretching upon resizing the image.
0@JaimeAlonzoPosted about 4 years ago@Victor-Villacis thanks man, so just to make sure i should make the image wider? Or can you be a little more specific? thanks for the tip ;)
Try looking at it here maybe it looks less stretched: https://base-apparel-coming-soon-beta.vercel.app/
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