Skip to content

A jQuery plugin that adds classes to items floated in a grid style. The following classes are added: topRow, bottomRow, firstInRow, lastInRow (the class names themselves may be altered). Why not :nth-child() selectors? This plug-in re-configures on window re-size to accommodate flexible grid layouts.

Notifications You must be signed in to change notification settings

dchaffin/gridClasses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

gridClasses

A jQuery plugin that adds classes to items floated in a grid style. The following classes are added: topRow, bottomRow, firstInRow, lastInRow (the class names themselves may be altered). Why not :nth-child() selectors? This plug-in re-configures on window re-size to accommodate flexible grid layouts.

SAMPLE USAGE

$(grid-item).gridClasses();

Here is a Fiddle with an example: http://jsfiddle.net/dchaffin/h96uB/7/.

About

A jQuery plugin that adds classes to items floated in a grid style. The following classes are added: topRow, bottomRow, firstInRow, lastInRow (the class names themselves may be altered). Why not :nth-child() selectors? This plug-in re-configures on window re-size to accommodate flexible grid layouts.

Resources

Stars

Watchers

Forks

Packages

No packages published