Press "Enter" to skip to content

Active Example in Bootstrap CSS

Definition :

The active selector is used to select and style the active link, a link becomes active when you click on it.

Program :



      <meta name=”viewport” content=”width=device-width” initial scale=”1″>

                  <link rel=”stylesheet” href=””>

                  <script src=””> </script>

                  <script src=””> </script>



                     <div class=”container” style=”border: 1px solid red;”>

                                     <button class=”btn btn-primary active”> HELLO </button> </br>

                                                 <button class=”btn btn-primary disabled”> HELLO </button> </br>




Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *