Design comparison
SolutionDesign
Solution retrospective
Please provide your opininions and suggestions.........!!!!!!!
Community feedback
- @MinhKhangTranPosted over 2 years ago
Hi Rhythm Saha, nice Solution!
I am not that familiar with tailwind, but if you want to center your component you can use
display: grid; place-content: center;
on your main div. The one with
min-h-screen bg-gray-900
.Additionally to that you can change your
pt-20
intopt-0
on your second div.I hope it is understandable and it helps you.
Keep coding and have fun doing it 😃.
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