Typemaster pre-launch landing page - HTML&CSS - using flexbox
Design comparison
Solution retrospective
Used background-image
for the images and it works but I'm not too happy with the responsiveness between the standard resolutions..
What would be a better approach to positioning the images (including the square image) in order to achieve better responsiveness between mobile-tablet-desktop resolutions?
Community feedback
- @dwhensonPosted about 3 years ago
Hi @chillcodemao lovely job on this one! The site looks great š here's a couple of points you might like to consider:
-
At the moment your image doesn't center on large screens - this is because
flex:start
is the default. I think if you addmargin: auto
to your body things should be nice an centered - if you can't see this try zooming out and see where you page lines up. -
For the box images, these things are always tricky and I struggle with them. I would probably either use a puesdo element to create them, or add them as a background to an existing element rather than create a specific
div
to hold them. But I always really struggle with positioning background images!
Hope this helps a little
Cheers š
Dave
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