Different types of predefined button in Bootstraps ?

 Posted by Vivek.Ramapuram on 5/19/2015 | Category: Bootstrap Interview questions | Views: 643 | Points: 40
Answer:

We have some predefined types of buttons such as primary, success, warning, danger and info which are of different types in terms of colors.
Here are shown in the example

<div>

<button type="button" class="btn btn-default">Default</button>
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-link">Link Button</button>
</div>


These are visible with different colors in the browser.


Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response