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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.

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.


                <svg style="display: none">
<g id="birdy"><rect fill="#fff" width="40" height="27"/>
	<path fill="#fe686d" d="M27,3c6.9-0.8,5.4,3.3,10,4c0,0.3,0,0.7,0,1c-3.2,1-3.8,6.8-6,9c-2.3,2.3-11.4,2.8-10,8c-0.3,0-0.7,0-1,0 c0.6-5-7.3-7-10-9c-2.6-2-5.3-4.1-7-7c0.6,0.6,1.1,0.7,2,1c0-1.3,0.2-2.7,0-4c0.3,0,0.7,0,1,0C5.4,20.6,24.5,5.5,27,3z"/>
<header class="entry-header">
  <p class="entry-meta"><time class="entry-time" datetime="2014-05-11T16:36:48+00:00">May 11, 2014</time></p>
  <h1 class="entry-title"><a href="#!" title="Hello world!" rel="bookmark">Hello world!</a></h1>
  <svg class="test-svg">
  <use xlink:href="#birdy"></use>


*::after {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
  outline: 0;
body {
  background-color: #f9f7f4;
  height: 100%;
body {
  font: 100%/1.375 AvenirNextCondensed-Medium, AvenirNext-Regular, "Lucida Grande", Corbel, "Trebuchet Ms", sans-serif;
  color: #111;
  text-align: center;
  min-height: 100%;
.entry-header {
  padding-bottom: 27px;
  margin: 0 auto;
  max-width: 45em;
  background-color: #fff;
  overflow: auto;
.entry-title {
  font-family: Palatino-Roman,"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif;
  font-size: 2.25em;
  font-weight: normal;
  line-height: 1;
  text-align: center;
  padding-bottom: 1.5em;
  position: relative;
  z-index: 0;
  background: transparent;
 .entry-title::before {
  content: "";
  position: absolute;
  bottom: 27px;  right: 1em; left: 1em;
  border-bottom: 2px solid #d4f7ea;
  z-index: 0;
svg {
  max-width: 100%;
.test-svg {
  margin: -2.75em auto 0;
  width: 40px;
  max-height: 2em;
  display: block;
  z-index: 1;
  position: relative;
/* general styles */
.entry-meta {
  padding: 0 .5em 1em;
.entry-time {
  color: #ff555a;
  font-size: .875em;
  font-style: normal;
  text-transform: uppercase;
.entry-title a {
  color: #555;
  text-decoration: none;
.entry-title a:hover {
  color: #999;


                // [trying to help someone on forum](