Can someone help me get rid of this space here between the cards.
Asked
Active
Viewed 37 times
-3

Faiyaz Awsaf
- 9
- 2
-
you need to post the code – Breakpoint Apr 15 '21 at 07:22
-
https://css-tricks.com/snippets/css/complete-guide-grid/ A link for a link :) – Wimanicesir Apr 15 '21 at 07:28
1 Answers
0
Since you did not provide the code, I'll explain it to you.
When you're using grid, it'll base the heights on the largest height there is in each row and place the rest of your elements in that space. This is a logical way of not breaking the flow. You have two options:
- Align your items on the center:
align-items: center;
- Or, use
display: flex;
and set its flow as vertical with wrapping. It'll automatically place everything and you'll have uniform spacing.

M.H. Tajaddini
- 776
- 4
- 20