Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div id="appstore-download">
 
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="22" height="26">
    <g transform="scale(.73)" fill="#292E31">
      <path d="M18.128,13.784 C18.099,10.561 20.767,8.993 20.889,8.92 C19.378,6.717 17.036,6.416 16.213,6.392 C14.246,6.185 12.338,7.569 11.336,7.569 C10.314,7.569 8.771,6.412 7.108,6.446 C4.968,6.479 2.966,7.718 1.868,9.642 C-0.398,13.565 1.292,19.33 3.463,22.501 C4.549,24.054 5.818,25.788 7.479,25.727 C9.104,25.66 9.711,24.691 11.672,24.691 C13.615,24.691 14.185,25.727 15.879,25.688 C17.623,25.66 18.721,24.128 19.769,22.561 C21.024,20.781 21.528,19.028 21.548,18.938 C21.507,18.924 18.161,17.647 18.128,13.784 L18.128,13.784 Z"></path>
      <path d="M14.928,4.306 C15.802,3.213 16.4,1.726 16.234,0.217 C14.969,0.273 13.387,1.092 12.476,2.161 C11.67,3.103 10.95,4.647 11.136,6.099 C12.557,6.205 14.016,5.382 14.928,4.306 L14.928,4.306 Z"></path>
    </g>
  </svg>
    Download <strong>Button</strong>
  
</div>
              
            
!

CSS

              
                body {
  background: #fafbfc;
}

#appstore-download {
  padding: 16px 10px 17px 10px;
  font-size: 16px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  text-decoration: none;
  color: #292e31;
  border-radius: 5px;
  box-shadow: inset 0 -2px 6px rgba(218,225,230,.2),0 0 0 1px rgba(90,101,112,.05),0 1px 2px   rgba(90,101,112,.22);
  background: #fff;
  outline: 0;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  max-width: 180px;
  cursor: pointer;
}

#appstore-download svg {
  margin: 0 2px -8px 0;
}

#appstore-download:hover g {
  fill: #1fbbdb;
  transition: .3s;
}

#appstore-download:active {
  box-shadow: inset 0 1px 0 rgba(212,220,227,.7),inset 0 0 1px #d4dce3,0 1px 0 #fff;
  background: #f5f7f8;
}
              
            
!

JS

              
                
              
            
!
999px

Console