Runoops Demo
Bootstrap5 实例
实例首页
自学教程
效率工具箱
源代码
外部库
0
重置
下载
上下布局
运行
<!DOCTYPE html> <html> <head> <title>Bootstrap5 实例</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script> </head> <body> <div class="container-fluid mt-3"> <h1>不等宽响应式列</h1> <p>重置浏览器大小查效果。</p> <p>在移动设备上,即屏幕宽度小于 576px 时,四个列将会上下堆叠排版。</p> <div class="row"> <div class="col-sm-4 p-3 bg-primary text-white">.col</div> <div class="col-sm-8 p-3 bg-dark text-white">.col</div> </div> </div> </body> </html>
运行结果
刷新
放大
全屏
外部库
搜索并选择 CDN 库,将自动写入源代码(可再手动调整)
关闭
staticfileCDN
cloudflareCDN
添加