Latest solutions
Latest comments
- @CornflakesPlusSubmitted almost 3 years ago@ExiviuZPosted almost 3 years ago
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 helpful1 - @z3sbSubmitted almost 3 years ago@ExiviuZPosted almost 3 years ago
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 helpful0 - @BiscuitCandySubmitted almost 3 years ago@ExiviuZPosted almost 3 years ago
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/
0