cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <div>
<button class="btn btn-f btn-sm btn-rnd btn-coral">Small</button>
<button class="btn btn-o btn-sm btn-rnd btn-coral">Small</button>
<button class="btn btn-f btn-md btn-sq btn-coral">Medium</button>
<button class="btn btn-o btn-md btn-sq btn-coral">Medium</button>
<button class="btn btn-f btn-lrg btn-rnd btn-coral btn-spd-fst">Large</button>
<button class="btn btn-o btn-lrg btn-rnd btn-coral btn-spd-sl">Large</button>
</div>

<div>
<button class="btn btn-f btn-sm btn-rnd btn-teal">Small</button>
<button class="btn btn-o btn-sm btn-rnd btn-teal">Small</button>
<button class="btn btn-f btn-md btn-sq btn-teal">Medium</button>
<button class="btn btn-o btn-md btn-sq btn-teal">Medium</button>
<button class="btn btn-f btn-lrg btn-rnd btn-teal btn-spd-fst">Large</button>
<button class="btn btn-o btn-lrg btn-rnd btn-teal btn-spd-sl">Large</button>
</div>

<div>
<button class="btn btn-f btn-sm btn-rnd btn-black">Small</button>
<button class="btn btn-o btn-sm btn-rnd btn-black">Small</button>
<button class="btn btn-f btn-md btn-sq btn-black">Medium</button>
<button class="btn btn-o btn-md btn-sq btn-black">Medium</button>
<button class="btn btn-f btn-lrg btn-rnd btn-black btn-spd-fst">Large</button>
<button class="btn btn-o btn-lrg btn-rnd btn-black btn-spd-sl">Large</button>
</div>

<div>
<button class="btn btn-f btn-sm btn-rnd btn-blue">Small</button>
<button class="btn btn-o btn-sm btn-rnd btn-blue">Small</button>
<button class="btn btn-f btn-md btn-sq btn-blue">Medium</button>
<button class="btn btn-o btn-md btn-sq btn-blue">Medium</button>
<button class="btn btn-f btn-lrg btn-rnd btn-blue btn-spd-fst">Large</button>
<button class="btn btn-o btn-lrg btn-rnd btn-blue btn-spd-sl">Large</button>
</div>

<div>
<button class="btn btn-f btn-sm btn-rnd btn-red">Small</button>
<button class="btn btn-o btn-sm btn-rnd btn-red">Small</button>
<button class="btn btn-f btn-md btn-sq btn-red">Medium</button>
<button class="btn btn-o btn-md btn-sq btn-red">Medium</button>
<button class="btn btn-f btn-lrg btn-rnd btn-red btn-spd-fst">Large</button>
<button class="btn btn-o btn-lrg btn-rnd btn-red btn-spd-sl">Large</button>
</div>

<div>
<button class="btn btn-f btn-sm btn-rnd btn-yellow">Small</button>
<button class="btn btn-o btn-sm btn-rnd btn-yellow">Small</button>
<button class="btn btn-f btn-md btn-sq btn-yellow">Medium</button>
<button class="btn btn-o btn-md btn-sq btn-yellow">Medium</button>
<button class="btn btn-f btn-lrg btn-rnd btn-yellow btn-spd-fst">Large</button>
<button class="btn btn-o btn-lrg btn-rnd btn-yellow btn-spd-sl">Large</button>
</div>

<div>
<button class="btn btn-f btn-sm btn-rnd btn-navy">Small</button>
<button class="btn btn-o btn-sm btn-rnd btn-navy">Small</button>
<button class="btn btn-f btn-md btn-sq btn-navy">Medium</button>
<button class="btn btn-o btn-md btn-sq btn-navy">Medium</button>
<button class="btn btn-f btn-lrg btn-rnd btn-navy btn-spd-fst">Large</button>
<button class="btn btn-o btn-lrg btn-rnd btn-navy btn-spd-sl">Large</button>
</div>

<div>
<button class="btn btn-f btn-sm btn-rnd btn-green">Small</button>
<button class="btn btn-o btn-sm btn-rnd btn-green">Small</button>
<button class="btn btn-f btn-md btn-sq btn-green">Medium</button>
<button class="btn btn-o btn-md btn-sq btn-green">Medium</button>
<button class="btn btn-f btn-lrg btn-rnd btn-green btn-spd-fst">Large</button>
<button class="btn btn-o btn-lrg btn-rnd btn-green btn-spd-sl">Large</button>
</div>
  
<style>
  div{
  padding-top:35px;
  }
</style>
<div style="margin-bottom:100px;">
            
          
!
            
              /* ----------- REMOVE DEFAULT BUTTON STYLING ----------- */
input, button, submit { 
  border-style:solid;
}
button:focus {
  outline:0;
}


/* ----------- BASIC BUTTON CHARACTERISTICS ----------- */
.btn{
  margin:5px;
  -webkit-transition: background-color .5s ease-out;
  -moz-transition: background-color .5s ease-out;
  -o-transition: background-color .5s ease-out;
  transition: background-color .5s ease-out;
  border-width:1px;
  border-color:black;
  font-size:calc(0.65em + .7vmin);
}

.btn:hover{
  color:white;
}


/* ----------- BUTTON STYLES - OUTLINE OR FULL ----------- */
.btn-o{
  background-color:transparent;
  border-width:1px;
}
.btn-f{
  border-width:1px;
}

/* ----------- CORNER STYLES - ROUNDED OR SQUARE ----------- */
.btn-sq{
  border-radius:0px;
}
.btn-rnd{
  border-radius:4px;
}

/* ----------- BUTTON SIZES ----------- */
.btn-sm{
  padding:10px 18px;
}
.btn-md{
  padding:15px 35px;
}
.btn-lrg{
  padding:15px 65px;
}





/* ---------- ONLY BUTTON COLORS BELOW ------------ */
/* ---------- ONLY BUTTON COLORS BELOW ------------ */
/* ---------- ONLY BUTTON COLORS BELOW ------------ */
/* ---------- ONLY BUTTON COLORS BELOW ------------ */




/* BLUE - BUTTON COLORS */
.btn-blue{
  background-color:#0275d8;
  border-color:#0275d8;
  color:white;
}
.btn-blue:hover{
  background-color:#025aa5;
}
.btn-o.btn-blue{
   background-color:transparent;
   color:#0275d8;
}
.btn-o.btn-blue:hover{
   background-color:#0275d8;
   color:white;
}

/* RED - BUTTON COLORS */
.btn-red{
  background-color:#d9534f;
  border-color:#d9534f;
  color:white;
}
.btn-red:hover{
  background-color:#c9302c;
  border-color:#c12e2a;
}
.btn-o.btn-red{
   background-color:transparent;
   color:#c12e2a;
}
.btn-o.btn-red:hover{
   background-color:#d9534f;
   color:white;
}

/* BLACK - BUTTON COLORS */
.btn-black{
  background-color:#000;
  border-color:#000;
  color:white;
}
.btn-black:hover{
  background-color:#000;
  border-color:#000;
}
.btn-o.btn-black{
   background-color:transparent;
   color:black;
}
.btn-o.btn-black:hover{
   background-color:#000;
   color:white;
}

/* GREEN - BUTTON COLORS */
.btn-green{
  background-color:#73B66B;
  border-color:#73B66B;
  color:white;
}
.btn-green:hover{
  background-color:#4e8e46;
}
.btn-o.btn-green{
   background-color:transparent;
   color:#73B66B;
}
.btn-o.btn-green:hover{
   background-color:#73B66B;
   color:white;
}

/* YELLOW - BUTTON COLORS */
.btn-yellow{
  background-color:#f0ad4e;
  border-color:#f0ad4e;
  color:white;
}
.btn-yellow:hover{
  background-color:#d89b46;
}
.btn-o.btn-yellow{
   background-color:transparent;
   color:#f0ad4e;
}
.btn-o.btn-yellow:hover{
   background-color:#f0ad4e;
   color:white;
}

/* CORAL - BUTTON COLORS */
.btn-coral{
  background-color:#FF5A5F;
  border-color:#FF5A5F;
  color:white;
}
.btn-coral:hover{
  background-color:#E55155;
}
.btn-o.btn-coral{
   background-color:transparent;
   color:#FF5A5F;
}
.btn-o.btn-coral:hover{
   background-color:#FF5A5F;
   color:white;
}

/* TEAL - BUTTON COLORS */
.btn-teal{
  background-color:#008489;
  border-color:#008489;
  color:white;
}
.btn-teal:hover{
  background-color:#00696D;
}
.btn-o.btn-teal{
   background-color:transparent;
   color:#008489;
}
.btn-o.btn-teal:hover{
   background-color:#008489;
   color:white;
}

/* COAL - BUTTON COLORS */
.btn-navy{
  background-color:#004080;
  border-color:#004080;
  color:white;
}
.btn-navy:hover{
  background-color:#0B2C59;
}
.btn-o.btn-navy{
   background-color:transparent;
   color:#004080;
}
.btn-o.btn-navy:hover{
   background-color:#0B2C59;
   color:white;
}

.btn-spd-sl{
  -webkit-transition: background-color 1.9s ease-out;
  -moz-transition: background-color 1.9s ease-out;
  -o-transition: background-color 1.9s ease-out;
  transition: background-color 1.9s ease-out;
}

.btn-spd-fst{
  -webkit-transition: background-color .1s ease-out;
  -moz-transition: background-color .1s ease-out;
  -o-transition: background-color .1s ease-out;
  transition: background-color .1s ease-out;
}

            
          
!
999px
Loading ..................

Console