
Mark Angel Papio
@ExiviuZAll comments
- @CornflakesPlus@ExiviuZ
The photo somehow get squeezed when the website is getting smaller and smaller around breakpoint 900, you can use the img property, object-fit: cover; so the image gets proportionate according to its parent or container.
Marked as helpful - @z3sb@ExiviuZ
You could lighten the box shadow a little bit so it's not very dark it goes with the light theme of the page.
Marked as helpful - @BiscuitCandy@ExiviuZ
Set 100vh and 100vw to parent then put margin auto to the child you want to vertically and horizontally center. You can also set display grid then set place-content:center.
https://www.freecodecamp.org/news/how-to-center-anything-with-css-align-a-div-text-and-more/