cccreator / Front

Mark And Do
0 stars 0 forks source link

Bootstrap Foundation Accumulation #9

Open cccreator opened 6 years ago

cccreator commented 6 years ago

Bootstrap

Bootstrap教程传送门:http://www.runoob.com/bootstrap/bootstrap-forms.html

bootstrap表单

bootstrap提供了下列类型的表单布局:垂直表单(默认)、内敛表单、水平表单。

垂直或基本表单,创建基本表单的基本步骤

  1. 向父

    元素添加 `role="form"

  2. 把标签和控件放在一个带有class.form-group 的div中,这是获取最佳间距必需的;

  3. 向所有的文本元素