©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
.label
类用于提供一些附加信息:
<h2>Example <span class="label">New</span></h2> <h3>Example <span class="label">New</span></h3> <h4>Example <span class="label">New</span></h4>实例预览 »
以下类可以设置标签的颜色: .secondary
, .success
, .info
, .warning
或 .alert
:
<span class="label">Default Label</span> <span class="label secondary">Secondary Label</span> <span class="label success">Success Label</span> <span class="label info">Info Label</span> <span class="label warning">Success Label</span> <span class="label alert">Alert Label</span>实例预览 »
.radius
与 .round
类可以为标签添加圆角:
<span class="label">Default Label</span> <span class="label radius">Radius Label</span> <span class="label round">Round Label</span> <span class="label success round">5</span>实例预览 »
可以使用 CSS 来修改标签的大小:
<h1>Example <span class="label" style="font-size:36px;">New</span></h1> <h2>Example <span class="label" style="font-size:30px;">New</span></h2> <h3>Example <span class="label" style="font-size:20px;">New</span></h3> <h4>Example <span class="label">New</span></h4>实例预览 »
关于我们 联系我们 留言板
手册网