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.

+ 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.


                <div class="container">
  <div class="head">
      <h1>Brian D. Dog</h1>
      Friend of Man
  <div class="body">
    <a href="#"><span class="entypo-twitter"></span></a><a href="#"><span class="entypo-facebook"></span></a><a href="#"><span class="entypo-dribbble"></span></a><a href="#"><span class="entypo-gplus"></span></a>
  <div class="foot">
    <a href="#" class="footItem1"><span class="entypo-heart"></span>102</a><a href="#" class="footItem2"><span class="entypo-user"></span>4,587</a><a href="#" class="footItem3"><span class="entypo-plus"></span>84,023</a>


                @import url(;

[class*="entypo-"]:before {
  font-family: 'entypo', sans-serif;

*  { box-sizing: border-box; }

body { margin: 100px; font-family: helvetica, sans-serif; background: #eaedf1; font-size: 10px; }

a { text-decoration: none; -webkit-transition: all .4s; }

.container { width: 360px; margin: 0 auto; }

/* the HEAD stuffs */
.head { overflow: auto; padding: 20px; background: #fff; border-radius: 5px 5px 0 0; font-size: 1.2em; color: #b9becd; }
  .head:before { content: ""; display: block; float: left; width: 80px; height: 80px; margin-right: 20px; background: url("") no-repeat; background-size: 80px; border-radius: 40px; }
  .head h1 { margin: 15px 0 5px; font-weight: 100; font-size: 2.2em; color: #5e6d81; }

/* the BODY stuffs */
.body { display: none; background: #323a45; color: #fff; }
.body a { display: inline-block; width: 25%; padding: 20px; border-right: 1px solid rgba(255,255,255,.25); text-align: center; color: #fff; font-size: 2.5em}
  .body a:hover { background: #515761; }
    .body a:last-child { border-right: none; }

/* the FOOT stuffs */
.foot { /*height: 100px;*/ }

[class^="footItem"] { display: inline-block; width: 33.333333%; padding: 15px 0; text-align: center; color: rgba(255,255,255,.8); font-size: 1.1em; }
[class^="footItem"] span { display: block; font-size: 1.6em; margin-bottom: 5px; color: #fff; }
  .footItem1 { background: #14b9d6; border-radius: 0 0 0 5px; }
    .footItem1:hover { background: #5bcee2; }
  .footItem2 { background: #f27935; }
    .footItem2:hover { background: #f6a172; }
  .footItem3 { background: #1fbba6; border-radius: 0 0 5px 0; }
    .footItem3:hover { background: #63d0c1; }


                // adding functionality to a flat UI element i saw somewhere

// js is crusty and needs to be re-coded