eqheights
Give all elements in a group of elements at least the height of the tallest element of the group.
Install
Find eqheights on npm
npm i eqheights
Usage Examples
Simplest, one off:
; // using a selector string; // or using a NodeListconst elements = document; ;
Responsive:
; const gridEqualizer = ;window;
Togglable:
; // autorun = false because we// want to initialize only,// not run eqheights yetconst recalc clear = ; const container = document;document ;
Togglable and Responsive:
See this codepen: http://codepen.io/Maximilianos/pen/OyBYvv?editors=001
License
MIT © Max GJ Panas