Screen Ruler Add to Chrome

Grid overlay for Chrome

Put a column grid over any live web page and check whether the layout lines up with the grid in your design file, without touching the site's code.

What it does

The Layout Grid Overlay draws evenly spaced, semi-transparent columns over the page, the same kind of layout grid you set up in Figma or Sketch. With the grid in place you can see at a glance whether headings, images and cards start and end on the columns they are meant to, or drift a few pixels off.

The grid is drawn on top of the page and does not change it. The columns stay in place as you scroll, so you can check every section of a long page against the same grid.

How to use it

  1. Start Screen Ruler by clicking its toolbar icon or pressing Alt + Shift + S (Option + Shift + S on a Mac).
  2. Click Layout Grid in the control bar. A panel opens with the grid settings and a visibility toggle.
  3. Switch the grid on and set it up to match your design.

Once it is set up, press 3 to show or hide the grid without opening the panel.

Grid settings

Out of the box the grid has 8 columns, a 20 pixel gutter, 40 pixel margins and no max width, in magenta at 30% opacity. Changes apply as you make them.

How it works

The overlay is built with CSS Grid, so the columns divide the available width exactly the way a real CSS grid layout would, gutters and margins included. Its width is measured without the vertical scrollbar, so the columns line up with the page's own content area rather than being pushed sideways by the scrollbar. When you set a max width, the grid centers itself the same way a typical margin: 0 auto container does, which makes it easy to match a site's main wrapper.

Your settings are saved, so the next time you turn the grid on, on any site, it comes back with the same columns, gutter and margin. If the grid was on when you closed Screen Ruler, it is on again the next time you start it.

Limits

When it is useful

To see the grid that a page itself defines with display: grid or flexbox, rather than a grid you set, use the Flexbox and Grid Inspector.

The Layout Grid Overlay is part of Screen Ruler's Inspect and Studio plans, and every install starts with a free 7-day trial with everything unlocked, no card required.

Common questions

Does Chrome DevTools have a column grid overlay?

DevTools can highlight grids that a page defines with CSS display: grid, but it cannot lay your own design grid over a page. Screen Ruler's overlay is independent of the page's code, so you can check any layout, whether it is built with CSS Grid, flexbox or something older, against the grid from your design file.

Can I set a 12 column grid with a max width?

Yes. Choose 12 in Columns and type the container width, for example 1200, in Max Width. The grid centers itself on the page at that width.

Does the grid stay when I scroll?

Yes. The columns are fixed to the window, so they stay in place while the page scrolls underneath and you can check every section against the same grid.

Are my grid settings saved?

Yes. Columns, gutter, margin, max width, color and opacity are remembered and apply on every site, so you set your grid up once.

Install Screen Ruler for free

No account, no setup. Join 60,000+ developers and designers measuring, inspecting, and editing on any page.

Add to Chrome