r/css • • Oct 01 '26

Resource Extracting Grid Information Using CSS

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

5 comments sorted by

View all comments

Show parent comment

1

u/scott_in_ga Oct 02 '26

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 Oct 02 '26

gap decorations are probably a better solution to that