Four-card feature section. Mobile first
Design comparison
Solution retrospective
First attempt to write with mobile first. It seems way shorter and easier. Thanks for all advices and support!
Community feedback
- @brasspetalsPosted about 4 years ago
Great job! π Glad to hear you like mobile-first. I was hesitant to try it, but agree that itβs so much easier, and I find it makes for smoother transitions between layouts.
Just a few suggestions:
-
Iβd bump your media query up to around 1150px or so to prevent side scrolling and cramping.
-
You might also want to play around using width percentages in combination with a
max-width
value on cards and headings (or in your next project) to create a little more responsiveness.
2@ArtemPonomarenkoPosted about 4 years ago@brasspetals
%'s one of those things that I struggle with. I am slowly getting there. I started to use rem more already, so getting there... Thanks!
1 -
- @ApplePieGiraffePosted about 4 years ago
Hey, Artem Ponomarenko! π
Nice work, once again! Your solution looks great! π
I only suggest,
- Perhaps using the
article
elements for the feature cards would make your HTML a little more semantic. Just a tip!
Keep coding (and happy coding, too)! π
1@ArtemPonomarenkoPosted about 4 years ago@ApplePieGiraffe
On my TODO for some time now =) need to finally make it happen =) Cheers
0@ArtemPonomarenkoPosted about 4 years ago@ApplePieGiraffe
One additional question if you don't mind =)
I did my solution according to the sketch design and aligned it with "Pixel-Perfect" extension (positioned x: 0, y: 0, scale: 1). And everything got aligned perfectly. But somehow it seems like I have slightly more "padding-top" on the DESIGN COMPARISON β¬οΈ . Where is that coming from? I checked some yours designs, and you don't seem to have it. What do I miss? Thanks! π
0@ApplePieGiraffePosted about 4 years ago@ArtemPonomarenko
Hmmm... I haven't actually worked with the Sketch files before, so I couldn't say for sure what might be causing that extra space at the top of your page. π
If everything looks aligned with the Pixel Perfect extension, then I suppose it must be an issue with the way the screenshot for the design comparison is taken.
I have a feeling the screenshots are taken in Firefox, but I checked your design there and it looks fine, too. π€¨
I usually just have one tab open with my solution and one tab with the design image and make sure both tabs are set to the same size so that I can compare my solution to the design (the Pixel Perfect extension is nice, but sometimes the opacity trips me up a little). π
Perhaps you could try generating a new screenshot by hitting the "Generate New Screenshot" button or go back and decrease the padding in your solution by a
rem
or two and then generate a screenshot again!1 - Perhaps using the
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