转载自:http://blog.csdn.net/ling811
badges中有:badge、badge-warning、badge-important、badge-info、badge-inverse
现在只实验两个,用法和lables的用法类似
- <table class="table table-bordered table-condensed table-striped">
- <thead>
- <tr>
- <th>名称:</th>
- <th>介绍</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><span class="badge">bagdge</span></td>
- <td><code>class="badge"</code></td>
- </tr>
- <tr>
- <td><span class="badge badge-important">badge-important</span></td>
- <td><code>class="badge badge-important"</code></td>
- </tr>
- </tbody>
- </table>