Transitions are in css and lead modal to animation and slide down. If you use LESS, you can change these lines in modal.less to get whatever behavior you want using the transition mixins provided in mixins or component-animations.less (or your own):
// When fading in the modal, animate it to slide down &.fade .modal-dialog { .translate(0, -25%); .transition-transform(~"0.3s ease-out"); } &.in .modal-dialog { .translate(0, 0)}
If you are not using LESS or the official Sass port, you can simply use the cascading behavior of the stylesheets and add an override to the custom css file loaded after the bootstrap.css file.
.modal.fade .modal-dialog { -webkit-transform: translate(0, 0); -ms-transform: translate(0, 0);
jme11
source share