我们看可以设置浮动 (.float-*-left|right - * 为 sm, md, lg 或 xl)的方向依赖于屏幕的大小: <div class="float-sm-right">在大于小屏幕尺寸上右浮动</div> <br> <div class="float-md-right">在大于中等屏幕尺寸上右浮动</div> <br> <div class="float-lg-right">在大于大屏幕尺寸上右浮动</div> <br> <div class="float-xl-right">在大于超大屏幕尺寸上右浮动</div> <br> <div class="float-none">没有浮动</div> ![]()
|
|
来自: johnny_net > 《bootstrap》