[英]How can I make twitter bootstrap 3 carousel centre the active image and show part of the next and previous images?
So that the active image is animated to the centre and you get a hint of the previous and next images. 这样就可以将活动图像设置为中心的动画,并获得前一幅图像和下一幅图像的提示。
This seems like it should be fairly straight forward to do but I can't seem to get it to work properly. 这似乎应该很简单,但是我似乎无法使其正常工作。
Any help is much appreciated. 任何帮助深表感谢。
The images that aren't in view are hidden. 看不见的图像被隐藏。 And if you unhide them they are actually above one another. 而且,如果您取消隐藏它们,它们实际上是彼此重叠的。
It looks like your best option is to find a different library or roll your own. 看来,最好的选择是找到其他库或自己滚动。 Trying to rewrite the CSS would be more work than its worth. 尝试重写CSS可能比其价值还多。 There are plenty of carousel libraries out there. 那里有很多轮播库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.