Caret Bootstrap class

BootstrapWeb DevelopmentCSS Framework

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

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <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>
   </head>
   <body>
      <p>Caret Example<span class = "caret"></span></p>
   </body>
</html>
raja
Updated on 12-Jun-2020 15:11:57

Advertisements