Wednesday, May 11, 2016

sameHeight : jQuery plugin for making elements the Same Height

A jQuery plugin for better vertical alignment of elements in responsive layouts. By default plugin looks at children of the container it’s applied to and if they are visually in the same row, it makes them all as tall as the tallest element in that row. If option “oneHeightForAll” is set to true plugin doesn’t look at rows and makes all children the same height regardless of whether they are in the same row or not. By default height is adjusted using css property “min-height”, but this can be changed to “height” by setting option “useCSSHeight” to true. This plugin also solves common problem of floated cells getting stuck after one another due to height differences.

The post sameHeight : jQuery plugin for making elements the Same Height appeared first on jQuery Rain.


by Admin via jQuery Rain

No comments:

Post a Comment