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

blog-preview-card with CSS Flexbos and SCSS

Gulizuli 30

@Gulizuli

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm currently learning Typescript. Maybe I can do my project with Typescript next time

What challenges did you encounter, and how did you overcome them?

When I want to add shadow behind the card, an invisible block always stuck under the card.

Therefore, I use position:relative and position:absolute to avoid causing the problem.

What specific areas of your project would you like help with?

No need help

Community feedback

@KlaudiaK0205

Posted

You could have added box-shadow to the class "card" instead of using position: relative and position: absolute. But your solution is not bad either. The important thing is that it works :)

1

Gulizuli 30

@Gulizuli

Posted

Thanks for your suggestions. It's really helpful !! I'll try your method when I face the same problems next time.

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