Hsz's solution worked fine until Twitter Bootstrap 3.3 added 3D transform support that overrides your transition styles (left: 50% and left: -50%)
So you need to override the default transition styles in Twitter Bootstrap with the following css:
@media all and (transform-3d), (-webkit-transform-3d) { .carousel-inner > .item.next, .carousel-inner > .item.active.right { left: 0; -webkit-transform: translate3d(50%, 0, 0); transform: translate3d(50%, 0, 0); } .carousel-inner > .item.prev, .carousel-inner > .item.active.left { left: 0; -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); } }
You may need to change 50% -33% if you show 3 items, etc.
Michal Vrchota Dec 16 '14 at 23:43 2014-12-16 23:43
source share