A small dev tool I add to every site I build. I recreate the design grid directly in the browser ...A small dev tool I add to every site I build. I recreate the design grid directly in the browser ...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
A small dev tool I add to every site I build.
I recreate the design grid directly in the browser and use it throughout development to keep spacing, alignment, and proportions consistent with the original design. Simple, but makes getting from Figma → browser much more precise.
Shift + G to toggle Esc to hide
Ilya's avatar
Such a smart workflow hack for pixel-perfect alignment! Is this a custom bookmarklet script you developed, or a lightweight Chrome extension?
Jason's avatar
Neither actually! It’s a small custom JS module I include in my projects. It creates the grid directly in the DOM based on the number of columns I pass in. Shift + G toggles it and Esc removes it. Here’s a small snippet from the class.
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started