How to create this tree

I need to create structure tree like is on the image. I looked for any library but I didn't find. So, if you know any libraries or how to create this by pure html/css/js, please help me:)
No description
1 Reply
snxxwyy
snxxwyy9mo ago
the good thing is you don't need any libraries. This is the best i could do with html and css, you can definitely implement js to determine how many cards there are to make calculating a few things easier but hopefully this gives you a few ideas. it's not responsive and I haven't tested it entirely. It's not entirely perfect either, it gets a little magic numbery in some places with the joining lines, i'm sure there are better ways of doing those. https://codepen.io/deerCabin/pen/rNbJPKx
Want results from more Discord servers?
Add your server