gpt4 book ai didi

html - 在 Bootstrap 网站上找不到 .img-responsive

转载 作者:行者123 更新时间:2023-11-28 01:54:09 25 4
gpt4 key购买 nike

我正在按照一些教程学习 bootstrap。我试图了解更多关于 .img-responsive 的信息来自

<img class="img-responsive" src="...some link..."> .

但我找不到.img-responsive在 Bootstrap 文档上。这与我在 bootstrap 上找到的非常接近:https://getbootstrap.com/docs/4.1/content/images/.但是,我能够在 w3schools 上找到它.是因为 bootstrap 4.1 没有 .img-responsive还是我错过了什么?感谢您的帮助。

最佳答案

.img-responsive 已重命名为 .img-fluid

在 Bootstrap 4.0 的文档中,您可以在这里找到它:https://getbootstrap.com/docs/4.0/content/images/#responsive-images

关于html - 在 Bootstrap 网站上找不到 .img-responsive,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49743430/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com