Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Starting to Grasp Responsiveness

NBD 240

@bdal90

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hey All,

Here is my next project. No fixed widths, no heights, first time I didn't actually set the size of the container initially and I made my life much easier! Any comments are welcome.

Cheers,

Dalma

Community feedback

Mtalafa 350

@Mtalafa

Posted

Hi Dalma, -Well done for completing this challenge. -Here are some suggestions. -I noticed that as you hover over the button everything gets a bit bigger because of the border of the button. You can fix this by adding the border to the original state of your button and make it same color as the background. -Another way to fix this is to remove the border from the button:hover and replace it with this: 'box-shadow: inset 0 0 0 2px hsla(0, 0%, 100%, 0.75);' This will add a shadow inside the button and it will not mess with your spacing. -I also noticed that you did your media queries for 400px max-width. Your design gets messed up before it reaches 400px. I would recommend changing it to 650-700px. -Hope this helps. Minden jot kivanok

Marked as helpful

0

NBD 240

@bdal90

Posted

Hey @Mtalafa,

Thank you for yout remark, I also noticed that, great pieces of advice! Köszönöm! :)

0
P
gfunk77 1,200

@gfunk77

Posted

Congratulations. Your solution looks great. Very well done. I’d suggest a couple of small things to take your widths and heights a step further:

Use min-height: 100vh instead of height. This will ensure that on smaller screens the content doesn’t overflow.

Keep in mind that width is 100% by default on block elements.

I hope this helps. Congrats again on your solution.

Marked as helpful

0

NBD 240

@bdal90

Posted

Dear @gfunk77,

Thanks a lot, I'll keep it in mind! :)

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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