Currently, I am working on a project that involves implementing a "side pop up". To ensure it doesn't flicker like it does with jQuery's "hide()" method, I want to start by setting the display property to none using CSS. My main question is:
- How can I use jQuery to make the div fade in when changing the display property to "inline"?Here is an example of my code for demonstration purposes: https://jsfiddle.net/dzm50k39/
I have already attempted the following:
$(".popupContent").fadeIn().css("display", "inline");
However, this only fades in the buttons instead of the entire content.
Do you have any suggestions on how to achieve this effect using jQuery or CSS?
If possible, I would prefer the content to slide up from the bottom rather than fade in.