@pedropoliszuk
Posted
You can use 'display: flex' in a div, and 'align-items: center' and 'justify-content: center' to center in an easier way. You can also put a max-width so that the card is not bigger than it should be.
Marked as helpful
What are you most proud of, and what would you do differently next time?
Happy I finished my first project.
I am proud to have finished it.
I would use a main tag and use more descriptive alt tags through out the project.
I would also use a CSS reset.
What challenges did you encounter, and how did you overcome them?
Centring the whole image was a challenge but Youtube showed me how to do it.
What specific areas of your project would you like help with?
Centring DIVs.
@pedropoliszuk
Posted
You can use 'display: flex' in a div, and 'align-items: center' and 'justify-content: center' to center in an easier way. You can also put a max-width so that the card is not bigger than it should be.
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