Using a unique animation script (check out ) to enhance the modal dialogs on my website.
Below is the CSS code I've implemented:
.modal.fade .modal-dialog {
-moz-transform: scale(1);
-ms-transform: scale(1);
transform: scale(0.1);
top: 300px;
opacity: 0;
-webkit-transition: all 1.5s;
-moz-transition: all 1.5s;
transition: all 1.5s;
}
.modal.fade.in .modal-dialog {
-moz-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
-webkit-transform: translate3d(0, -250px, 0);
transform: translate3d(0, -250px, 0);
opacity: 1;
}
Encountering an issue where the modal dialog exits too swiftly, causing a choppy animation effect. Looking for suggestions on achieving a smoother exit animation for the dialog. Wondering if integrating JQuery would be necessary for this improvement?