Topic: Changing of modal fade effect
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 3 years 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)
.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: Yes