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 using figma files

Dave 40

@Guitar8634

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 am most proud of learning how to use the Figma File to create a more accurate representation of the design.

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

Some challenges included figuring out how to justify and align all the elements within the card correctly. I solved these using

display: grid;
justify-content: center;
align-items: center;

position: relative;

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

I am curios how other people solved the indenting of the title and paragraph in the hover state.

Community feedback

P
Jose 90

@josenegrete123

Posted

For the indenting in the hover state, use the :hover pseudo class to mess with the hover state of the object.

Here is some code example using your title class: .title:hover { color: yellow; cursor: pointer; }

This way when you hover over the title, only the color changes and it doesn't indent itself.

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