Design comparison
Solution retrospective
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;
I am curios how other people solved the indenting of the title and paragraph in the hover state.
Community feedback
- @josenegrete123Posted 3 months ago
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 GitHubJoin 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