You're tasked with creating a Bootstrap alert that fades out and slides up when dismissed. Describe the combination of classes and transitions needed.

  • fade, slide-up, alert-dismissible, fade-out
  • alert, fade-out, dismissible, fade-up
  • alert, fade, slide-out, dismissible
  • fade, alert-dismissible, fade-up, slide-out
To achieve a fading-out and sliding-up effect for a Bootstrap alert, you need to apply the classes 'fade' and 'slide-up,' and utilize the 'alert-dismissible' class for dismissal. The correct combination ensures a smooth transition when the alert is closed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *