@correlucas
Posted
๐พHi Ilesanmi Emmanuel, congrats for your new solution!
Great solution and great start! By what I saw youโre on the right track. Iโve few suggestions to you that you can consider to add to your code:
1.Your background is applied but its not too similar to the design yet. Add background-size: contain
instead of background-size: cover
to make it display the size full width and center with the card vertically. Note that now is slightly different from the challenge design.
body {
background-size: contain;
background-image: url(images/pattern-background-desktop.svg);
background-repeat: no-repeat;
background-color: var(--body-background-color);
}
2.Think about using relative units as rem
or em
instead of px
to improve your performance by resizing fonts between different screens and devices.Anyhow, if we want a more accessible website, then we should use rem instead of px. REM does not just apply to font size, but to all sizes as well.
โ๏ธ I hope this helps you and happy coding!
Marked as helpful
@Ilesanmiea
Posted
@correlucas
Thanks Lucas, I will take your suggestions into careful considerations. I strongly appreciate your time and effort