Bootstrap 4轮播无法响应图像 [英] Bootstrap 4 carousel not responsive images
本文介绍了Bootstrap 4轮播无法响应图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
看看这个: http://www.consultacultura.it/portale_comunale_della_cultura.asp?IDcomune=1
轮播图像不像其下的图像那样响应.它们具有相同的img-fluid类.
Carousel images are not responsive like images under of it. They have the same class img-fluid.
推荐答案
这是Bootstrap 4 Alpha 6中的一个已知问题...
This is a known issue in Bootstrap 4 Alpha 6...
https://github.com/twbs/bootstrap/issues/21611
您可以使用 解决方法 .
As a workaround you can use..
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
display: block;
}
http://www.codeply.com/go/0QUU06MiIL
这篇关于Bootstrap 4轮播无法响应图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文