Skip to content

Make the heights of elements on the same row the same.

Notifications You must be signed in to change notification settings

mogusbi/jquery.equaliser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Equaliser Plugin

Make the heights of elements on the same row the same.

Getting started

NPM

Install package with NPM and add it to your dependencies:
npm install @mogusbi/jquery.equaliser --save

Introducing it to your page

Include jQuery and the plugin to your page and then select the elements you wish to set equal heights to and call the equaliser method.

<!doctype html>
<html>
  <head>
    ...
  </head>
  <body>
    <div class="row">
      <div class="col-xs-4" data-equalise>...</div>
      <div class="col-xs-4" data-equalise>...</div>
      <div class="col-xs-4" data-equalise>...</div>
    </div>

    <script src="jquery.js"></script>
    <script src="jquery.equaliser.js"></script>
    <script>
      $('[data-equalise]').equaliser();
    </script>
  </body>
</html>

License

Copyright © Mo Gusbi.
Licensed under the MIT license.

About

Make the heights of elements on the same row the same.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published