Lucas š¾ā¢ 104,420
@correlucas
Posted
Hello Radek, congratulations for your solution!
I saw your live site and the component and the design elements are just fine. The only thing missing is the alignment.
I did some changes to your code and to align it, I've used the good and old display: flex
and its alignment properties: align-items: center; justify-content: center;
.
See the code changes below:
body {
display: flex;
background-color: var(--clr-gray);
text-align: center;
align-items: center;
justify-content: center;
}
See if works for you, I did it and I can see the card centered.
Happy coding!
Marked as helpful
1