Abdul Khaliq 🚀• 72,660
@0xabdulkhaliq
Posted
REPLY:
- After inspected your code, i want to share a snippet of code that will be usefull for this solution
SNIPPET:
- You don't need three rules for centering the card in
main
,
main{ display: flex; justify-content: center; align-items: center; }
- Just apply the following snippet
main{ display: grid; place-items: center; }
- This will minimize your lines of code, it will be usefull in your future projects also
MESSAGE:
- If my answer helps you then providing an upvote will be very gratefull
- I hope you learned a lot of stuffs during this project, Congrats brother
GREETINGS:
- Peace be upon you with god's mercy & blessings Subaru..✨
Marked as helpful
3
CodeWithSubaru• 120
@CodeWithSubaru
Posted
@0xAbdulKhalid Thank you for this wonderful solution and have a good day!
0