Right now when I fade in my overlay div, it is automatically set to display: block;
. But I want it to be display: table
. Is there any jQuery function like fadein()
that does that?
jQuery
$.when($("#overlay").fadeIn(200)).done(function() {
setTimeout(function() {
//ToDo
});
}, 250);
$("#overlay").fadeIn(200).css('display','table');
Change the CSS property after the fadeIn
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With