@danielmrz-dev
Posted
Hello @Goat3ggs!
Your project looks great!
The content is cut off at the top on mobile version because you set place-content: center;
to it. This is not a problem for the destktop version, since the card should be in the middle of the page.
You can fix that by adding place-content: center;
only for the destktop version. You can use media queries for that. Do this:
-
First, remove
place-content: center;
from the body. -
Then add
place-content: center;
to the body's @media: 600px.
By doing that, it'll only work for the desktop version, and your mobile version won't be cut off anymore.
I have one more suggestion for you:
- Consider increasing your @media breakpoint. Between 600px and 800px the card gets squeezed. Maybe increase it to 900px or so.
I hope it helps!
Other than that, you did a great job!
Marked as helpful
@Goat3ggs
Posted
@danielmrz-dev Thank you so much! I wouldn't have figured out the solution in a thousand years. I am at the beginning, so it is not so easy for me to find solutions for the problems I encounter. I fully appreciate your help.
@danielmrz-dev
Posted
@Goat3ggs
That's what we are here for! Help each other ๐ I'm glad I could help!