Edvin Venclavovic• 880
@Dvin12
Posted
If you are doing it with tailwind then use grid and then place-content-center to center the whole component ;)
Marked as helpful
1
The part that I found difficult was centering the component. I know it shouldn't be difficult but I tried everything that I knew. Sometimes it worked, then I changed something and then it stopped working. If you know the solution, please share.
Feel free to give feedback and comment.
@Dvin12
Posted
If you are doing it with tailwind then use grid and then place-content-center to center the whole component ;)
Marked as helpful
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