Joseph• 770
@Jos02378
Posted
Hey @omerome83, good job on this solution!
Some suggestions for you:
- For the mobile size, try to give some space so the card doesn't stick to the left and right sides of the screen.
- You can use
background-size: cover;
andbackground-repeat: no-repeat;
so the image can cover the container without being duplicated for IPad size. - You can try to follow a CSS naming convention called BEM. You can watch this video for more information Watch the video.
- You can try to use relative units like em in the future. Here is a link to an article that explains when to use which unit read the article.
I hope this helps, good luck!
Marked as helpful
1