Design comparison
SolutionDesign
Solution retrospective
i want to center the card without using position absolute and translate(-50%,-50%)
Community feedback
- @Dharmik48Posted about 3 years ago
Hey👋,
- To center the card you can use
display: flex;
andplace-items: center;
to the parent.
Hope it helps🤗
0 - To center the card you can use
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