Caret Bootstrap class

Use carets to indicate dropdown functionality and direction. To get this functionality use the class caret with a <span> element.

You can try to run the following code to implement caret Bootstrap class


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>
      <p>Caret Example<span class = "caret"></span></p>
Samual Sam
Samual Sam

Learning faster. Every day.