1、表格:
.table:基础表格
.
table
-
striped:斑马线表格
.
table
-
bordered:带边框的表格
.
table
-
hover:鼠标悬停高亮的表格
.
table
-
condensed:紧凑型表格
.
table
-
responsive:响应式表格
2、常见表单样式:
2、常见表单样式:
<
form
role
=
"form"
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleInputEmail1"
>邮箱:
<
/
label
>
<
input
type
=
"email"
class
=
"form-control"
id
=
"exampleInputEmail1"
placeholder
=
"请输入您的邮箱地址"
>
<
/
div
>
<
div
class
=
"form-group"
>
<
label
for
=
"exampleInputPassword1"
>密码
<
/
label
>
<
input
type
=
"password"
class
=
"form-control"
id
=
"exampleInputPassword1"
placeholder
=
"请输入您的邮箱密码"
>
<
/
div
>
<
div
class
=
"checkbox"
>
<
label
>
<
input
type
=
"checkbox"
>
记住密码
<
/
label
>
<
/
div
>
<
button
type
=
"submit"
class
=
"btn btn-default"
>进入邮箱
<
/
button
>
<
/
form
>
3、对齐:
3、对齐:
.
text
-
left
{
text
-
align
:
left
;
}
.
text
-
right
{
text
-
align
:
right
;
}
.
text
-
center
{
text
-
align
:
center
;
}
.
text
-
justify
{
text
-
align
:
justify
;
}