When we make an element fade in or out, which specific CSS property is being altered? Is it the visibility attribute, or the display property?
I am hoping to create a code snippet with an if
statement condition that reads (in pseudo code):
if the div is visible, perform some action
For instance:
if ( $('#div').is(':visible') ) {
do something;
}
...however, I am uncertain about exactly what has been changed within the CSS document.