diff --git a/scss/_animation.scss b/scss/_animation.scss index 1be1971fbf..4112468d04 100644 --- a/scss/_animation.scss +++ b/scss/_animation.scss @@ -1,6 +1,9 @@ .fade { opacity: 0; - transition: opacity .15s linear; + + @if $enable-transitions { + transition: opacity .15s linear; + } &.active { opacity: 1; @@ -30,7 +33,10 @@ tbody { position: relative; height: 0; overflow: hidden; - transition-timing-function: ease; - transition-duration: .35s; - transition-property: height; + + @if $enable-transitions { + transition-timing-function: ease; + transition-duration: .35s; + transition-property: height; + } }