Prev Demo
Listgroup With Badges
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> </head> <body><h5><b>Listgroup with badges</b></h5> <p><i>It adds badges to the list</i> </p> <ul class="list-group"> <li class="list-group-item list-group-item-danger "><span class="badge">1</span>Home</li> <li class="list-group-item list-group-item-success"><span class="badge">2</span>Favourites</li> <li class="list-group-item list-group-item-default"><span class="badge">3</span>My Cloud</li> <li class="list-group-item list-group-item-primary"><span class="badge">4</span>Network</li> <li class="list-group-item list-group-item-info"><span class="badge">5</span>Messages</li> <li class="list-group-item list-group-item-warning"><span class="badge">6</span>Settings</li> </ul> </body> </html>
Note: We DO NOT save your trial code in our database.
Output