fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Bootstrap 徽章实例</title> <meta name="description" content="Bootstrap badges Example. All types of badges available are shown."> <link href="/jscss/bootstrap/bootstrap-2.0.3.css" rel="stylesheet"> </head> <body> <div class="container"> <div class="row"> <div class="span12"> <p><span class="badge">1</span></p> <p><span class="badge badge-success">2</span></p> <p><span class="badge badge-warning">4</span></p> <p><span class="badge badge-important">6</span></p> <p><span class="badge badge-info">8</span></p> <p><span class="badge badge-inverse">10</span></p> </div> </div> </div> </body> </html>
运行结果