Skip to content

Instantly share code, notes, and snippets.

@vgrish
Created January 27, 2016 07:56
Show Gist options
  • Save vgrish/14cbb1d8b1e6e1604002 to your computer and use it in GitHub Desktop.
Save vgrish/14cbb1d8b1e6e1604002 to your computer and use it in GitHub Desktop.
.modal {
/*! adjust transition time */
-webkit-transition: all ease-out !important;
-moz-transition: all 0.3s ease-out !important;
-o-transition: all 0.3s ease-out !important;
transition: all 0.3s ease-out !important;
}
.modal.in .modal-dialog {
/*! editthis transform to any transform you want */
-webkit-transform: scale(1, 1) !important;
-ms-transform: scale(1, 1) !important;
transform: scale(1, 1) !important;
}
.modal.fade .modal-dialog {
/*! disable sliding from left/right/top/bottom */
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment