I have a list of elements, and according to the criteria, it gets the class through jQuery on document.ready, which runs CSS3 columns.
If the list is displayed in columns, it will have a lower height. Is there a way to get a new height in jQuery right after changing the class?
$items.each(function(i){ var theItem = this; console.log($(theItem).height());
The above code returns the initial height for both calls. I guess I need to call something else.
jquery css css3 height
Greenude
source share