这里我们有一个困惑。我可以在bootstrap 4版本中使用bootstrap3类吗?例如: panel,pull-right,col xs-4。我使用了这些类。我可以使用相同的类或替换为新的类(面板卡)。
发布于 2018-04-11 19:31:00
在Bootstrap 4中
(1)面板、井和缩略图已被卡片取代。
<div class="card">
<img class="card-img-top" src="..." alt="Card image cap">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>(2)将pull-left和pull-right替换为float-left和float-right。
(3) .col-xs-4现在是.col-4
https://stackoverflow.com/questions/49773335
复制相似问题