Archives
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- July 2011
- March 2011
- February 2011
- January 2011
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009


Simple Grid
Simple Grid is a jQuery plugin intended to be a no-fuss way to “replicate” your Photoshop grid on top of your development site.
Download @ GitHub
Set these 3 variables to get started:
This is your line-height (most of the time)
This is your column width – it’s BEST to use a number that divides the gridWidth evenly!!
This is the width of the area being gridded
Example
$.simpleGrid({ rowHeight: 20, columnWidth: 30, gridWidth: 960 });What You Get
Once you’ve added the tiny bit of JavaScript to your page, you will get a pink dot in the upper left corner.
Clicking the pink dot will toggle the grid on and off.
DEMO – Try it!
Credits
A GIANT thank you goes to Patrick Bacon
for his coaching and coding input.
Dustin Tinney has been a solid source of inspiration and ideas along the way as well! Major thanks!
Download @ GitHub
No related posts.