News for hackers. Stuff that matters.
Re:Show HN: Magic Grid – A simple JavaScript library for dyn... by dakom on Monday December 24, 2018 @02:33AM (#18750948)
How about a grid of equal-height items, but intersperse something between each row- can this library do that?

For example, consider a bookshelf design where the books are the items and each row has an element underneath it (the element would itself be composed of say 3 images for left and right ends plus the middle)

afaik that's not possible with CSS grid either since grid doesn't have an `nth-row` selector

Re:Show HN: Magic Grid – A simple JavaScript library for dyn... by e-oj on Monday December 24, 2018 @02:56AM (#18751031)
No, the library doesn't support that. you should be able to achieve the effect with plain html and css though.