Daniel 🛸• 44,230
@danielmrz-dev
Posted
Hello @mujtabaghafari!
Your solution looks great!
I have a couple of suggestions:
- Since you set grid to the body, but you didn't set the size of the rows, your footer is pushing your card up a little bit. You can prevent that from happening adding this to the body:
grid-template-rows: 90% 1fr;
Then your card will always occupy 90% of the space and the footer will adapt in the remaining space.
I hope it helps!
Other than that, you did an excellent job!
0