使用Bootstrap设计响应式页面
使用Bootstrap也非常简单,你只需要把下面的链接添加到你需要使用Bootstrap来进行布局的应用的头部:
通过Bootstrap使图片适配手机显示?<img class="img-responsive" src="/statics/codecamp/images/running-cat.jpg"> 通过Bootstrap使文本居中<h2 class="red-text text-center">your text</h2>//可以使用空格给标签定义多个class 通过Bootstrap添加一个按钮<button type="submit" class="btn btn-default">Like</button> // btn-success
btn-info
btn-warning
btn-danger
btn-link
添加一个Bootstrap块级元素按钮btn-block ?
使用Bootstrap做页面布局<div class="row">//标签设置了 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |