Fadein(), set 'display: table' instead of block
jquery
Solution
$("#overlay").fadeIn(200).css('display','table');
Change the CSS property after the `fadeIn`.
Problem
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); ```