Bootstrap Badges

BootstrapWeb DevelopmentCSS Framework

Badges are similar to labels; the primary difference is that the corners are more rounded. 

To use badges just add <span class = "badge"> to links, Bootstrap navs, etc. 

You can try to run the following code to implement badges in Bootstrap


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
      <a href = "#">Mailbox <span class = "badge">50</span></a>
Updated on 12-Jun-2020 17:28:23