The gridFit plugin enables you to let any block element fit exactly into a custom grid that you can define at initialization.
Download the production version or the development version.
<div id="any-id"></div>
$('#any-if').gridFit( gridWidth, gridHeight );
- adding event for resize of elements without window resizing
- adding element positioning according to the grid
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "src" subdirectory!
Copyright (c) 2012 bleech
Licensed under the MIT, GPL licenses.