Rabia Ismail• 130
@Rabiaismail21
Posted
Hello BAHAA ELDEEN MOHAMED! Your submitted solution for stats preview card with animation is really amazing and it is fully reponsive as well. Great Work!
Marked as helpful
1
Used Tailwind css Wow js for animation 3 hours of work
@Rabiaismail21
Posted
Hello BAHAA ELDEEN MOHAMED! Your submitted solution for stats preview card with animation is really amazing and it is fully reponsive as well. Great Work!
Marked as helpful
@0xabdulkhaliq
Posted
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
CSS 🎨:
margin
or padding
.margin
and padding
to center the component both horizontally & vertically. Because using margin
or padding
will not dynamical centers our component at all statesFlexbox
or Grid
layout. You can read more about centering in CSS here 📚.Grid
to center the component.<body class="bg-mainc grid place-items-center h-screen">
mt-44 mx-auto
from div
, after removing you can able to see the changes.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
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