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

Griselda Knight• 280

@Greeshma2903

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


I had a problem with aligning the images on the bottom-right of each section. Tried using margin-right 0px, then relative positioning too, but didn't work. would like feedback on that part.

Community feedback

Roman Filenko• 3,335

@rfilenko

Posted

Hey, pretty solid work - a simple solution would be to make card a flex container {display: flex; flex-direction: column;}, on image apply {align-self: flex-end;}.

Keep coding, Roman

0

Griselda Knight• 280

@Greeshma2903

Posted

@rfilenko thank you for the feedback!!

0
Carlos Pozo• 0

@crpozo

Posted

Just add float:right to the image inside the card and that's it !

Good luck :)

0

Griselda Knight• 280

@Greeshma2903

Posted

thanks @crpozo for the feedback!

0
Dawid• 440

@dwddgsz

Posted

Hello, You may try display:block on images, so you will be able to use margins, then set margin-left to auto. I hope it can help

0

Griselda Knight• 280

@Greeshma2903

Posted

@dwddgsz thank you for the feedback!

0

Account Deleted

try float: right;

0

Griselda Knight• 280

@Greeshma2903

Posted

@imadatyatalah thanks for the feedback! works great!

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