0
Remove space between different bootstrap card groups.
I want to remove space between different card groups so that next group card can use space left by previous group cards because of different sizes of cards. https://code.sololearn.com/WA2A5A25A211/?ref=app (see in desktop)
5 Respostas
0
So you want it to be horizontal with no spaces?
0
Chris C. yes, just like a collage. To use every space.
0
Since you're using bootstrap.
You can make the cards all the same height.
In the CSS tab type this
.card {
height: 400px;
}
If you intend to create a gallery with different sizes then a grid would be better.
0
Chris C. Actually I am dynamically adding cards using javascript and the no of cards may vary. Is there any robust automatic way ?
0
Chris C. New cards are added automatically.