Different animations while closing Bootstrap 4 alerts

Press on close button on every alert and see the animation.
Default Close! Hide alert by default close action.
Fade Show Close! Fade alert for 2 seconds and close.
Slide Up Close! Slide up for 2 seconds and close.