Elektrine lite

← Feed

@chriskirknielsen@front-end.social

2026-04-27 16:47 UTC

@hejchristian@front-end.social This should work with any number of cells, and aspect-ratio of cell but beware that if you have empty cells in the last row, that `.grid::after` pseudo is just floatin' in space: https://codepen.io/chriskirknielsen/pen/zxoOZzL?editors=1100

Replies (1)

  • @chriskirknielsen@front-end.social Oh wow, yours cracks the issue I was having by trying to use borders 🤩 Just now I did this: https://front-end.social/@hejchristian/116477703106687003 but I have the issue of inner lines being thicker due to the borders lining up. Your approach doesn't have that issue 🤩 Amazing

    Open ##5251827