jQuery 项目中的响应式引导轮播多列

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25075661/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 11:02:11  来源:igfitidea点击:

Responsive bootstrap carousel multiple columns in item

jqueryhtmlcsstwitter-bootstrapcarousel

提问by Jure Jager

I was wondering how to achieve responsive layout with bootstrap carouselwith multiple columns in each item.

我想知道如何bootstrap carousel在每个项目中使用多个列来实现响应式布局。

Demo: http://jsfiddle.net/L4bA8/

演示:http: //jsfiddle.net/L4bA8/

On mobile I need all columns to slide, but there can be only one column per item.

在移动设备上,我需要滑动所有列,但每个项目只能有一列。

Thank you, Jure

谢谢你,朱尔

采纳答案by Waleed Asender

I think this isnt a thing doable with bootstrap only, you have to write some custom javascript. I am facing the same issue and i found this Bootply that may help you as it helped me:

我认为这不是仅使用 bootstrap 可行的事情,您必须编写一些自定义 javascript。我面临同样的问题,我发现这个 Bootply 可以帮助你,因为它帮助了我:

http://www.bootply.com/132400

http://www.bootply.com/132400

回答by Turqueso

Do you mean something like this?add col-xs-for column size on mobile

你的意思是这样的吗?col-xs-在移动设备上 添加列大小