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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

            
              <a class="redButton" href="#">Hello</a>
<a class="blueButton" href="#">Hello</a>
<a class="greenButton" href="#">Hello</a>
<a class="orangeButton" href="#">Hello</a>
<a class="purpleButton" href="#">Hello</a>
<a class="turquoiseButton" href="#">Hello</a>
            
          
!
            
              a.redButton {
  background: #D11 none no-repeat right top;
  padding: 15px;
  border-radius: 5px;
  border: 5px solid #D11;
  color: #FFF;
  text-decoration: none;
}

a.redButton:hover {
  background: #FFF none no-repeat right top;
  color: #D11;
}

a.blueButton {
  background: #09F none no-repeat right top;
  padding: 15px;
  border-radius: 5px;
  border: 5px solid #09F;
  color: #FFF;
  text-decoration: none;
}

a.blueButton:hover {
  background: #FFF none no-repeat right top;
  color: #09F;
}

a.greenButton {
  background: #090 none no-repeat right top;
  padding: 15px;
  border-radius: 5px;
  border: 5px solid #090;
  color: #FFF;
  text-decoration: none;
}

a.greenButton:hover {
  background: #FFF none no-repeat right top;
  color: #090;
}

a.orangeButton {
  background: #F70 none no-repeat right top;
  padding: 15px;
  border-radius: 5px;
  border: 5px solid #F70;
  color: #FFF;
  text-decoration: none;
}

a.orangeButton:hover {
  background: #FFF none no-repeat right top;
  color: #F70;
}

a.purpleButton {
  background: #909 none no-repeat right top;
  padding: 15px;
  border-radius: 5px;
  border: 5px solid #909;
  color: #FFF;
  text-decoration: none;
}

a.purpleButton:hover {
  background: #FFF none no-repeat right top;
  color: #909;
}

a.turquoiseButton {
  background: #099 none no-repeat right top;
  padding: 15px;
  border-radius: 5px;
  border: 5px solid #099;
  color: #FFF;
  text-decoration: none;
}

a.turquoiseButton:hover {
  background: #FFF none no-repeat right top;
  color: #099;
}

/* Just for CodePen styling - don't include if you copy paste */
html {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
   font-weight: 300;
  margin: 25px;
  text-align: center;
  line-height: 75px;
}
            
          
!
999px
Loading ..................

Console