Bootstrap Carousel Image不会按比例缩放 [英] Bootstrap Carousel Image does not scale proportionately
本文介绍了Bootstrap Carousel Image不会按比例缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
检查一下 here
如何保持原始图像比例?
解决方案
保留轮播中所有图片的显式尺寸,并且它应该正常工作。
My carousel fills the width of the page, but when I scale down the window the y-axis does not respond.
Check it out here
How can I maintain the original image proportions?
解决方案
Leave the explicit dimensions off all the images in the carousel and it should work properly.
这篇关于Bootstrap Carousel Image不会按比例缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文