jwalczak94• 810
@jwalczak94
Posted
Hi, good job on completing this challenge !
I have a some tips to boost your CSS code:
- instead of using pixels (especially in in font-size), you use relative units like rem. In case of font-size when you using px it does not scale with the user's browser settings.
- it is very bad practice to give a body a rigid width and height value, just do it on the card component ;)
- to center the card you can use the code below
body {
display: grid;
place-content: center;
}
Happy coding!
Marked as helpful
0