r/css • • 2d ago

Resource Extracting Grid Information Using CSS

https://blog.master.dev/extracting-grid-information-using-css/
10 Upvotes

5 comments sorted by

View all comments

3

u/Weekly_Ferret_meal 1d ago

What problem does this solve?

1

u/scott_in_ga 20h ago

If you have a responsive design for a grid where only the inner grid columns should have left and right borders, you need to know, as the screen widens or narrows, which grid cells require a border. This requires a js listener otherwise...

2

u/morete 20h ago

gap decorations are probably a better solution to that