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 CSS. s

Connect CCTV Camara Via PC : Recommended Tips

Connect CCTV Digital Camera Using Personal Computer  Today I discuss about some topics.    Connect CCTV camera to computer.   Connect 4 channel DVR on the PC.   Create connection using BNC port. CCTV camera :   As we know about CCTV camera are various types but we discuss about the normal using camera such as BNC port camera or VGA camera or direct input with 4 wires. In our cameras there are 4 cable wire are use that first-video, second-ground, third- DC+ and fourth for DC-. these are connected by many type of connector like BNC or VGA . so if your camera have BNC connector on it so make a external socket and directly connect to the computer.  If your camera have VGA, PS2 or other type of connectivity socket so you just want a connector or converter VGA to BNC or any. 4 Channel PC DVR : This is the best option to connect your BNC or other VGA camera to the compute the main thing is this to too reasonable and it result was best. it easy to connect on computer

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