how to show grid lines with CSS?

user3534270 picture user3534270 · Aug 16, 2016 · Viewed 12.5k times · Source

I'm using getskeleton.com for a responsive website and I'm trying to show the grid lines in the background something like this http://nimb.ws/fTE2AR or http://fearonhay.com/residential/courtyard-house . What would be the best way to accomplish that?

Answer

Nicolas picture Nicolas · Dec 19, 2020

You can turn on the grid button located in the div which has display: grid declared.

All you have to do is go to your browser's developer tools (mine is Microsoft Edge which is based on Chromium).

You will see a button like this.

Grid button

And then you can code and test as you wish.