指示重要说明并突出显示内容的某些部分。
要创建标签,只需将 .uk-label 类添加到 <span> 元素中。
.uk-label
<span>
<span class="uk-label"></span>
<span class="uk-label">Default</span>
添加以下类之一以获得其他样式。
.uk-label-success
.uk-label-warning
.uk-label-danger
<span class="uk-label uk-label-success"></span>
<span class="uk-label">Default</span> <span class="uk-label uk-label-success">Success</span> <span class="uk-label uk-label-warning">Warning</span> <span class="uk-label uk-label-danger">Danger</span>