Responsive 3column Preview Card Component

Solution retrospective
I was able to visualize how I could complete the challenge and put it into practice without any major difficulties.
What challenges did you encounter, and how did you overcome them?I think it was the button, to make it fit at the bottom of the card. Whenever the screen was resized, the variation in the height of the paragraph messed up the positioning of the button.
I was able to solve this by using display: flex, flex-direction: column and justify-content: space-between on the card; and margin-top: auto on the button.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Gildman Laécio's solution.
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