Skip to content

tasaif/bootstrap-column-height

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bootstrap-column-height

Makes columns in a row match the height of the content

What do I do?

  1. Add match-columns.js to your project (this runs on document ready [this means it doesn't work on dynamically added rows/columns])
  2. Add data-match-columns=true to any <div class='row'> to have their columns resized to match the tallest column

Resizing manually

  1. Trigger the event 'resizeHeights' on a column to have it and it's neighbors resized

Gotcha

  1. bootstrap-column-height will only look 1 level deep in the subtree of a row that has data-match-columns=true

Before/After

Before Before Image After After Image

About

Makes columns in a row match the height of the content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published