Does the fundamental equalizer set the height for inheritance?

I'm trying to get the Equalizer Foundation plugin to work, and the documentation makes it pretty simple, but I tried a few things to get it working and still can't figure out why it doesn't work.

I call foundation.min.jsand activate it, as you can see here: Code Snippet showing activation of Foundation

Here is my code http://codepen.io/anon/pen/ByQBYx

As you can see, the height does not match between 4 employees. From what I understand in Equalizer, it should maintain equal height over the "observable" elements.

+4
source share
1 answer

, divs . , , .

$(document).foundation({
  equalizer : {
    // Specify if Equalizer should make elements equal height once they become stacked.
    equalize_on_stack: true
  }
});

: http://codepen.io/anon/pen/raWVbO

+13

Source: https://habr.com/ru/post/1569470/


All Articles