Trying to create a CSS effect to enhance Bootstrap, I noticed that it only works correctly when clicking the right arrow. Whenever I click the left one, nothing happens. I'm not sure where I made a mistake, can anyone help me spot it? Thanks in advance!
#sigle-items-slider .item {
-webkit-transition: opacity 1.5s cubic-bezier(0.765, 0.185, 0.000, 0.730);
-moz-transition: opacity 1.5s cubic-bezier(0.765, 0.185, 0.000, 0.730);
-ms-transition: opacity 1.5s cubic-bezier(0.765, 0.185, 0.000, 0.730);
-o-transition: opacity 1.5s cubic-bezier(0.765, 0.185, 0.000, 0.730);
transition: opacity 1.5s cubic-bezier(0.765, 0.185, 0.000, 0.730);
}
#sigle-items-slider .active.left {
left:0;
opacity:0;
z-index:2;
}
#sigle-items-slider .active.right {
right:0;
opacity:0;
z-index:2;
}
#sigle-items-slider .next {
left:0;
opacity:1;
z-index:1;
}
#sigle-items-slider .prev {
left:0;
opacity:1;
z-index:1;
}
UPDATE
Finally got around to creating a jsfiddle example, check it out!