mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
carousel.md: fix $carousel-transition-duration
reference (#32316)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
d15a0247ce
commit
07b60d2c3e
@ -421,4 +421,4 @@ myCarousel.addEventListener('slide.bs.carousel', function () {
|
|||||||
|
|
||||||
### Change transition duration
|
### Change transition duration
|
||||||
|
|
||||||
The transition duration of `.carousel-item` can be changed with the `$carousel-transition` Sass variable before compiling or custom styles if you're using the compiled CSS. If multiple transitions are applied, make sure the transform transition is defined first (eg. `transition: transform 2s ease, opacity .5s ease-out`).
|
The transition duration of `.carousel-item` can be changed with the `$carousel-transition-duration` Sass variable before compiling or custom styles if you're using the compiled CSS. If multiple transitions are applied, make sure the transform transition is defined first (eg. `transition: transform 2s ease, opacity .5s ease-out`).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user