Design comparison
SolutionDesign
Solution retrospective
I couldn't figure out how to add any padding at the bottom and used a p tag to create a bit of space. How do I not have to do that? I know that that was a bad solution.
Community feedback
- @darshii98Posted over 3 years ago
Make your single card component's position relative and your button's position as absolute, then give a distance from bottom to your button, it will work. You can refer my solution if you want. Also change your entire card component's flex direction to column if you want to make it responsive in mobile view.
Marked as helpful1
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