Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <div class="profile-pane">
  <div class="column  column--alpha">
    <div class="profile-pane__header">
      <a href="https://twitter.com/_joshnh">
        <div class="profile-pane__header__avatar"></div>
        <p class="profile-pane__header__name">Joshua Hibbert</p>
        <p class="profile-pane__header__username">@_joshnh</p>
      </a>
    </div>
    <div class="profile-pane__profile-summary">
      <ul>
        <li>
          <a href="javascript:void(0);">
            <dl>
              <dd>7,524</dd>
              <dt>Tweets</dt>
            </dl>
          </a>
        </li>
        <li>
          <a href="javascript:void(0);">
            <dl>
              <dd>35</dd>
              <dt>Following</dt>
            </dl>
          </a>
        </li>
        <li>
          <a href="javascript:void(0);">
            <dl>
              <dd>782</dd>
              <dt>Followers</dt>
            </dl>
          </a>
        </li>
      </ul>
    </div>
    <div class="profile-pane__new-tweet">
      <input type="text" placeholder="Compose new Tweet&hellip;">
    </div>
  </div>
  <div class="column  column--beta">
    <div class="profile-pane__shortcuts">
      <ul>
        <li class="messages">
          <a href="javascript:void(0);">&#xf0e0;</a>
        </li>
        <li class="connect  notification">
          <a href="javascript:void(0);">@</a>
        </li>
        <li class="stars">
          <a href="javascript:void(0);">&#xf005;</a>
        </li>
        <li class="lists">
          <a href="javascript:void(0);">&#xf0ca;</a>
        </li>
      </ul>
    </div>
  </div>
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700);
@font-face {
    font-family: 'awesome';
    src: url('https://raw.github.com/FortAwesome/Font-Awesome/master/font/fontawesome-webfont.eot');
    src: url('https://raw.github.com/FortAwesome/Font-Awesome/master/font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
        url('https://raw.github.com/FortAwesome/Font-Awesome/master/font/fontawesome-webfont.woff') format('woff'),
        url('https://raw.github.com/FortAwesome/Font-Awesome/master/font/fontawesome-webfont.ttf') format('truetype'),
        url('https://raw.github.com/FortAwesome/Font-Awesome/master/font/fontawesome-webfont.svg#AwesomeRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
  background-color: #6cf;
  background-image: linear-gradient(45deg, transparent 46%, hsla(0,0%,100%,.1) 46%, hsla(0,0%,0%,.1) 54%, transparent 54%),
                    linear-gradient(-45deg, transparent 46%, hsla(0,0%,100%,.1) 46%, hsla(0,0%,0%,.1) 54%, transparent 54%),
                    linear-gradient(45deg, transparent 46%, hsla(0,0%,0%,.015) 46%, hsla(0,0%,0%,.015) 54%, transparent 54%),
                    linear-gradient(-45deg, transparent 46%, hsla(0,0%,0%,.015) 46%, hsla(0,0%,0%,.015) 54%, transparent 54%);
  background-position: 50% 50%,
                       50% 50%,
                       49% 49%,
                       49% 49%;
  background-size: .75em .75em;
  color: #444;
  font: 1em/1.5 'Open Sans', sans-serif;
  text-align: center;
}
.profile-pane {
  background-color: #e3e3e3;
  border-radius: .5em;
  box-shadow: 0 0 0 .1em hsla(0,0%,0%,.1),
              0 .1em .25em hsla(0,0%,0%,.25),
              0 0 6em hsla(0,0%,100%,.25);
  box-sizing: border-box;
  display: inline-block;
  margin: 4.5em 0;
  text-align: left;
  vertical-align: top;
}
.column {
  display: inline-block;
  vertical-align: top;
}
.column--alpha {
  border-right: 1px solid #c0c0c0;
  margin-right: -.25em;
  width: 18em;
}
.column--beta {
  width: 3em;
}
.profile-pane a {
  color: #444;
  text-decoration: none;
  transition: .15s;
}
.profile-pane a:hover,
.profile-pane a:focus {
  color: #39c;
}
.profile-pane__header {
  background-color: #eee;
  border-bottom: 1px solid #d3d3d3;
  border-radius: .5em 0 0 0;
  box-shadow: inset 0 .1em 0 hsla(0,0%,100%,.25);
}
.profile-pane__header a {
  display: block;
  padding: .75em;
}
.profile-pane__header__avatar {
  background-image: url('https://dribbble.s3.amazonaws.com/users/40713/avatars/original/Avatar_28.04.2012.png?1345207201');
  background-size: cover;
  border-radius: .15em;
  box-shadow: inset 0 0 0 .1em hsla(0,0%,0%,.15);
  float: left;
  height: 3em;
  margin-right: .75em;
  width: 3em;
}
.profile-pane__header__name {
  font-weight: bold;
  font-size: 1.125em;
  line-height: 1.333333333;
  text-shadow: 0 .1em .1em hsla(0,0%,100%,.25);
}
.profile-pane__header__username {
  color: #888;
  font-size: .875em;
  font-style: italic;
  line-height: 1.714285714;
}
.profile-pane__profile-summary {
  background-color: #fff;
}
.profile-pane__profile-summary ul {
  border-bottom: 1px solid #d3d3d3;
  display: table;
  width: 100%;
}
.profile-pane__profile-summary li {
  border-left: 1px solid #d3d3d3;
  display: table-cell;
}
.profile-pane__profile-summary a {
  display: block;
  padding: .425em .75em .375em;
}
.profile-pane__profile-summary li:first-child {
  border-left: 0;
}
.profile-pane__profile-summary dd {
  color: #444;
  font-size: 1.125em;
  font-weight: bold;
  line-height: 1.333333333;
}
.profile-pane__profile-summary dt {
  color: #888;
  font-size: .75em;
  line-height: 2;
  text-transform: uppercase;
  transition: .15s;
}
.profile-pane__profile-summary a:hover dt,
.profile-pane__profile-summary a:focus dt{
  color: #39c;
}
.profile-pane__new-tweet {
  background-color: #eee;
  border-radius: 0 0 0 .5em;
  box-shadow: inset 0 .1em 0 hsla(0,0%,100%,.25);
  padding: .75em;
}
.profile-pane__new-tweet input {
  border: 1px solid #aaa;
  border-radius: .15em;
  box-shadow: inset 0 .1em .5em hsla(0,0%,0%,.15),
              0 -.1em 0 hsla(0,0%,100%,.25);
  box-sizing: border-box;
  color: #444;
  font-family: 'Open Sans', sans-serif;
  outline: 0;
  padding: .5em .75em;
  transition: .15s;
  width: 100%;
}
.profile-pane__new-tweet input:focus {
  border-color: #4ad;
}
.profile-pane__shortcuts a {
  border-top: 1px solid #c3c3c3;
  box-shadow: inset .25em 0 .25em -.25em hsla(0,0%,0%,.15),
              inset 0 .1em 0 hsla(0,0%,100%,.25);
  box-sizing: border-box;
  display: block;
  font-family: awesome;
  line-height: 2.85em;
  padding: .2em .15em 0 0;
  text-align: center;
  text-shadow: 0 .1em .1em hsla(0,0%,100%,.25);
}
.profile-pane__shortcuts li:first-child a {
  border-radius: 0 .5em 0 0;
  border-top: 0;
}
.profile-pane__shortcuts li:last-child a {
  border-radius: 0 0 .5em 0;
}
.profile-pane__shortcuts .connect a {
  font-family: sans-serif;
  font-weight: bold;
  line-height: 2.9em;
  padding: 0 .15em .1em 0;
}
.profile-pane__shortcuts a:hover,
.profile-pane__shortcuts a:focus {
  background-color: #eee;
}
.profile-pane__shortcuts a:active {
  background-color: #d9d9d9;
  transition: 0s;
}
.profile-pane__shortcuts .notification a {
  box-shadow: inset .25em 0 .25em -.25em hsla(0,0%,0%,.15),
              inset .2em 0 0 hsla(200,60%,60%,.5),
              inset 0 .1em 0 hsla(0,0%,100%,.25);
}
              
            
!

JS

              
                
              
            
!
999px

Console