为了账号安全,请及时绑定邮箱和手机立即绑定

玩转Bootstrap(基础)

真的可以、
btn btn-default btn-success btn-info btn-warning btn--link btn-danger
全屏才有效果
,使用了<small>标签来制作副标题
如果每行网数超过12则会挤出一行
六种列表:

无序列表:
<ul>
<li>...</li>
</ul>
有序列表:
<ol>
<li>...</li>
</ol>
去点列表:
<ul class="unstyled">
<li>...</li>
</ul>

内联列表:
<ul class="inline">
<li>...</li>
</ul>

描述列表:
<dl>
<dt>...</dt>
<dd>...</dd>
</dl>

水平描述列表:
<dl class="dl-horizontal">
<dt>...</dt>
<dd>...</dd>
</dl>
<div class="row">
<div class="col-md-2">.con-md-2</div>
<div class="col-md-2 col-md-offset-1">.con-md-2 偏移1</div>
<div class="col-md-2 col-md-offset-1">.con-md-2 偏移1</div>
<div class="col-md-3 col-md-offset-1">.con-md-3 偏移1</div>
</div>
<input type="reset" class="btn btn-primary btn-block disabled">
<button class="btn btn-info" type="button">信息按钮.btn-info</button>
<button class="btn btn-default" type="button">默认按钮</button>
不太灵活,我用<div class="h1">也有同样的效果,但是标准答案只能是<h1>
<div class="from-group has-error has-feedback">
<label class="control-label" for="inputError1">email地址</label>
<input type="text" class="form-control" id="inputError1">
<span class="glyphicon glyphicon-remove form-control-feedback"></span>
</div>
<form role="form">
<label class="radio-inline"><input type="radio" name="sex" value="option1">男性</label>
<label class="radio-inline"><input type="radio" name="sex" value="option2">女性</label>
<label class="radio-inline"><input type="radio" name="sex" value="option3">中性</label>
</form>
<div class="form-group">
<select class="form-control">
<option>踢足球</option>
<option>游泳</option>
<option>慢跑</option>
<option>跳舞</option>
</select>
</div>
<input type="text" class="form-control" placeholder="Enter Username">
课程须知
本教程适合具有一定前端基础的人员,对HTML和CSS有一定的了解,对于定制Bootstrap的同学需要具备LESS和Sass基础知识。
老师告诉你能学到什么?
1、了解Bootstrap框架 2、如何使用Bootstrap制作Web页面或Web应用程序 3、如何定制个性化Bootstrap

微信扫码,参与3人拼团

意见反馈 帮助中心 APP下载
官方微信
友情提示:

您好,此课程属于迁移课程,您已购买该课程,无需重复购买,感谢您对慕课网的支持!

本次提问将花费2个积分

你的积分不足,无法发表

为什么扣积分?

本次提问将花费2个积分

继续发表请点击 "确定"

为什么扣积分?

举报

0/150
提交
取消