1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Add variables for transitions (#21345)

* Add variables for transitions

* Add variables for transitions
This commit is contained in:
Tom Lutzenberger
2016-12-20 05:33:17 +01:00
committed by Mark Otto
parent 372d156f21
commit e1653edb95
8 changed files with 25 additions and 8 deletions

View File

@@ -28,7 +28,7 @@
// When fading in the modal, animate it to slide down
&.fade .modal-dialog {
@include transition(transform .3s ease-out);
@include transition($modal-transition);
transform: translate(0, -25%);
}
&.active .modal-dialog { transform: translate(0, 0); }