I have a few divs I am vertically aligning with display: table and display: table-cell for the inners. Anyways, the problem is, when I animate the opacity with jQuery either through fadeTo() or fadeIn, it always add’s the display: block inlining. How can I keep the display type from changing during and after the opacity animation?
I have a few divs I am vertically aligning with display: table and display:
Share
Never-mind, It looks like I can add
.fadeTo(300, 1.0).css('display', 'table-row')and this fixes the issue