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

Four card feature section

Gabrielaโ€ข 60

@Gabriela-hub-89

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


any suggestions for improvement are welcome!

Community feedback

Lucas ๐Ÿ‘พโ€ข 104,420

@correlucas

Posted

๐Ÿ‘พHello @Gabriela-hub-89, Congratulations on completing this challenge!

Iโ€™ve few suggestions for you that you can consider adding to your code:

The box-shadow is a bit too strong, this is due the opacity and blur. The secret to create a perfect and smooth shadow is to have low values for opacity and increase blur try this value instead: box-shadow: 12px 7px 20px 6px rgb(57 75 84 / 8%);

If youโ€™re not familiar to box-shadow you can use this site to create the shadow design and then just drop the code into the CSS: https://html-css-js.com/css/generator/box-shadow/

โœŒ๏ธ I hope this helps you and happy coding!

Marked as helpful

0
Edufelibugmโ€ข 450

@edufelibugm

Posted

Hi @Gabriela-hub-89 !!! ๐Ÿ˜„ Your design looks good, but not it's responsive for mobile resolutions. ๐Ÿ“ฑ๐Ÿ“ฑ

It's very easy adjust that, only add @media (max-width: /* resolution where it looks wrong */) { /*your CSS code*/ } , then add the atribute display: flex; flex-direction: column; in your class "cards". ๐Ÿค–

And that's it, you already have your design for mobile!!! ๐Ÿฅณ ๐Ÿฅณ ๐Ÿฅณ

Have a great day and happy coding ๐Ÿ’›

Marked as helpful

0
P
Justin Greenโ€ข 2,750

@jgreen721

Posted

Only suggestion would be to make it responsive to mobile. You can do that pretty easily with CSS @media query and you can adjust your grid to single column rows at a particular screen width.

Something like @media screen and (max-width:450px){ // your CSS code here}. Make sure there is the white space between and and the open (. I've tripped over that gotcha more than once.

Nice job on the challenge though. Looks great on the regular size screen!

Marked as helpful

0

Gabrielaโ€ข 60

@Gabriela-hub-89

Posted

@jgreen721 Thanks! I knew I was forgetting to do something.

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