jQuery & jQuery UI Documentation

jQuery & jQuery UI

Fading

These methods adjust the opacity of elements.

  • .fadeIn()

    Display the matched elements by fading them to opaque.

  • .fadeOut()

    Hide the matched elements by fading them to transparent.

  • .fadeTo()

    Adjust the opacity of the matched elements.

  • .fadeToggle()

    Display or hide the matched elements by animating their opacity.