I am unsure if the card has the correct width and height as well as the fonts have proper sizes.
adrnmatos
@adrnmatosAll comments
- @knastSubmitted 11 months ago@adrnmatosPosted 11 months ago
Hi. Try putting some right and left padding to the blue container. It should grow to fit both padding and image sizes.
0 - @aedanevangelistaSubmitted about 1 year ago
Accepting comments and criticism for self-improvement. Thanks
@adrnmatosPosted about 1 year agoIt is very good. You can set flex display to bottom-left pane second paragraph and align-item to center.
0 - @PhusaraSubmitted about 1 year ago
I find it so difficult to center content. Anyone have any tip to center webpage content properly?
@adrnmatosPosted about 1 year agoHello. This way you can center horizontal and vertical dimensions. .card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
This is a good resource: https://www.freecodecamp.org/news/css-vertical-align-how-to-center-a-div-text-or-an-image-example-code/
1