Changing of modal fade effect


Topic: Changing of modal fade effect

pawled pro premium priority asked 4 months ago

How to change the basic fade effect of modal for a custom animations? For example fadeIn and fadeOut set (Bootstrap 5 Animations)


Michał Duszak staff answered 4 months ago

The $modal-fade-transform variable determines the transform state of .modal-dialog before the modal fade-in animation, the $modal-show-transform variable determines the transform of .modal-dialog at the end of the modal fade-in animation.

If you want for example a zoom-in animation, you can set $modal-fade-transform: scale(.8).


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: Yes