Skip to main content

How To Place Bootstrap Buttons On Your Blogger Blog !

Bootstrap have a series of button which have different type of colour and different size, and classes for use.
If your want to add the bootstrap button on your blog so you just have to follows these steps.

1. First you have to open your blogger template edittor.
2. Then place the bootstrap CDN css and javascript on your template.
3. Then refresh your page and check your page is working .
4. Then paste these codes for default size buttons.

<!-- Standard button -->
<button type="button" class="btn btn-default">Default</button>

<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-primary">Primary</button>

<!-- Indicates a successful or positive action -->
<button type="button" class="btn btn-success">Success</button>

<!-- Contextual button for informational alert messages -->
<button type="button" class="btn btn-info">Info</button>

<!-- Indicates caution should be taken with this action -->
<button type="button" class="btn btn-warning">Warning</button>

<!-- Indicates a dangerous or potentially negative action -->
<button type="button" class="btn btn-danger">Danger</button>

These codes gives you these type of default buttons.

5. If you want to make a button with the large size so add the "btn-block" class on the previous button.

<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>
<!-- This is the example of btn-block class -->


6. If you want to make the fancy buttons with random size, copy these codes.

<p>
  <button type="button" class="btn btn-primary btn-lg">Large button</button>
  <button type="button" class="btn btn-default btn-lg">Large button</button>
</p>
<p>
  <button type="button" class="btn btn-primary">Default button</button>
  <button type="button" class="btn btn-default">Default button</button>
</p>
<p>
  <button type="button" class="btn btn-primary btn-sm">Small button</button>
  <button type="button" class="btn btn-default btn-sm">Small button</button>
</p>
<p>
  <button type="button" class="btn btn-primary btn-xs">Extra small button</button>
  <button type="button" class="btn btn-default btn-xs">Extra small button</button>
</p>
Example of fancy btn-sm and btn-xs class.









7. If you want to make the disable button so copy these codes.

<a href="#" class="btn btn-primary btn-lg disabled" role="button">Primary link</a>
<a href="#" class="btn btn-default btn-lg disabled" role="button">Link</a>

Example of disable class.
Primary link Link

Realated Post

Comments

Popular posts from this blog

Minified Your Blogger Template For Fast Response ! How to minified CSS.

Minified is also means minimisation or minimization,  In computer programming languages and especially JavaScript and CSS is the process of removing all unnecessary characters from source code without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute. If you want to remove these unnecessary character, spaces and more from your blogger template so you should follow these steps given below. 1. First you have to open your blogger template editor . 2. Then find this tag on your template. <b:skin> < ![CDATA[/* 3. Copy entire data written under this tag until the style closing tag was encounter . it is recommended please leave the comment section if exists means a author bio or etc. ]]> </b:skin> 4. After that you have to Minified your your copy data or CS...

How To Change Folder Permissions Ubuntu/Linux

How To Open Unpermission Folder And How To Change It's Permissions. I am using ubuntu 12.10 and i am working on lamp server (linux apache mysql php) and i have great work on it but when i want to open my database folder i have to face a problem on it.the problem is when i open database folder so the error occurs "The folder contents could not be displayed." you don't have a permissions to view the content of mysql. The mysql stored data in the ( file system/var/lib/mysql ). Follow These Steps. First you have to open your terminal and run this command gksudo nautilus /var/lib/mysql . terminal window with that command Then the folder was open than goto properties of that folder.                                                                              Goto permissions and cha...

Minified Your Blogger Template For Fast Response ! How to minified JavaScript (Part 2) .

Minified is also means minimisation or minimization,  In computer programming languages and especially JavaScript and CSS is the process of removing all unnecessary characters from source code without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute. If you want to remove these unnecessary character, spaces and more from your blogger template so you should follow these steps given below. 1. First you have to open your  blogger template editor . 2. Then find this tag on your template. < script type = 'text/javascript' > //<![CDATA[ 3. Copy entire data written under this tag until the script closing tag was encounter . it is recommended please leave the comment section if exists means a author bio or etc. //]]> < /script> 4. After that you have...