An AngularJS directive to vertically equalize a group of elements with varying heights. In other words, it dynamically makes a group of elements the same height.
angular-vertilize
.angular-vertilize.js
.angular.vertilize
to your app module dependencies.vertilize-container
and vertilize
directives.This little demo uses Twitter Bootstrap 3 for styling and shows how element heights can be maintained in a grid.
For IE8 compatibility, I am using: polyfill.js, selectivizr.js, and respond.js
{{ col.body }}
<div vertilize-container class="row"> <div ng-repeat="col in columns" class="col-sm-3"> <div class="well"> <div vertilize> <h3>{{ col.title }}</h3> <p>{{ col.body }}</p> </div> </div> </div> </div>