Bootstrap snippet. Responsive Buttons

This Bootstrap snippet. Responsive Buttons, was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: responsive,buttons,css,html,code,bootstrap,snippet,btn-group

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div class="container btn-container">
    <div class="row">
       <div class="col-md-12">
            <h2>Bootstrap Responsive Buttons<p class="lead text-muted">Resize the browser to demonstrate</p></h2>
           	<button name="button" class="btn btn-default btn-responsive">Default</button>
            <button name="button" class="btn btn-primary btn-responsive">Primary</button>
         	<button name="button" class="btn btn-info btn-responsive">Info</button>
            <a class="btn btn-danger btn-responsive" href="#">Danger</a>
            <a class="btn btn-warning btn-responsive" href="#">Warning</a>
            <a class="btn btn-success btn-responsive" href="#">Success</a>
    <div class="row">
       <div class="col-md-12">
            <div class="btn-group">
              <button class="btn btn-info btn-responsive">Left</button>
              <button class="btn btn-info btn-responsive">Middle</button>
              <button class="btn btn-info btn-responsive">Right</button>
    <div class="row">
       <div class="col-md-12">
              <button class="btn btn-primary btn-sm btn-responsive">Small</button>
              <button class="btn btn-primary btn-responsive">Medium</button>
              <button class="btn btn-primary btn-lg btn-responsive">Large</button>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

@media (max-width: 768px) {
  .btn-responsive {
    padding:2px 4px;
    line-height: 1;

@media (min-width: 769px) and (max-width: 992px) {
  .btn-responsive {
    padding:4px 9px;
    line-height: 1.2;

.btn-container .row {

Similar snippets

Bootstrap Photo post example

Photo post


Bootstrap Features example



Bootstrap Social network login with buttons example

Social network login with buttons


Bootstrap user profile description example

user profile description


Bootstrap user blog widget example

user blog widget


Bootstrap Messages or conversations example

Messages or conversations


Bootstrap Bootstrap 3 Toggle Switch buttons example

Bootstrap 3 Toggle Switch buttons


Bootstrap Blog image Gallery Widget example

Blog image Gallery Widget


Bootstrap Responsive Buttons example

About this bootstrap snippet

This bootstrap snippet, Responsive Buttons, was published on Jan 13th 2015, 16:02 by Dey Dey and it is free.

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 823 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.1

This snippet is based on bootstrap 3.3.1 and the grid system of this framework


Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working