Create a default Bootstrap button

BootstrapWeb DevelopmentCSS Framework

Use the .btn-default class in Bootstrap to create a default button.

You can try to run the following code to implement a .btn-default class


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link rel = "stylesheet" href = "">
      <script src = ""></script>
      <script src = ""></script>
      <p>Cick the below button in case of issues:</p>
      <div class = "container">
         <button type = "button" class = "btn btn-danger">Danger</button>
      <p>Cick the below button if everything is fine:</p>
      <div class = "container">
         <button type = "button" class = "btn btn-default">Next</button>
Updated on 12-Jun-2020 20:32:32