欢迎您 本站地址:
复制网址
手机查看
切换背景
源代码:
html编辑器
颜色值转换
点击运行
Bootstrap 实例</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdn.staticfile.net/twitter-bootstrap/4.3.1/css/bootstrap.min.css"> <script src="https://cdn.staticfile.net/jquery/3.2.1/jquery.min.js"></script> <script src="https://cdn.staticfile.net/popper.js/1.15.0/umd/popper.min.js"></script> <script src="https://cdn.staticfile.net/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script> <div class="container mt-3"> <h1>Padding Right 工具</h1> <div class="pr-0 bg-warning text-end">Padding Right 0</div> <div class="pr-1 bg-success text-end">Padding Right 1</div> <div class="pr-2 bg-danger text-end">Padding Right 2</div> <div class="pr-3 bg-primary text-end">Padding Right 3</div> <div class="pr-4 bg-light text-end">Padding Right 4</div> <div class="pr-5 bg-info text-end">Padding Right 5</div> <br> <p>响应式 padding right 工具,重置浏览器大小查看效果。</p> <div class="pr-sm-5 bg-warning text-end">Padding Right 5 on SM screens</div> <div class="pr-md-5 bg-success text-end">Padding Right 5 on MD screens</div> <div class="pr-lg-5 bg-danger text-end">Padding Right 5 on LG screens</div> <div class="pr-xl-5 bg-primary text-end">Padding Right 5 on XL screens</div> </div>
运行结果:
小库提示
扫描下方二维码,访问手机版。
打赏
关闭