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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <main>
  
  <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/showtell-convergese-2016.svg" alt="" class="title-graphic">
  
  <a href="https://nvite.com/ShowTellConverge/d025" target="_blank" class="button">RSVP!</a>
  
  <dl>
    <dt>When</dt>
    <dd>April 14th, 2016<br>7:00 PM<br>during <a href="http://convergese.com/" target="_blank">ConvergeSE</a></dd>
    <dt>Where</dt>
    <dd><a href="http://soco-work.com/">SOCO</a><br>823 Gervais Street<br>
Columbia, SC 29201</dd>
    <dt>What</dt>
    <dd><p>Come on over and show the group something cool. Anything webby goes! Show off a fun Pen, some interesting software you use, a facinating website you saw, whatever!</p><p>You don't have to sign up in advance to present something. If the mood strikes, come on up.</p></dd>
    <dt>Who</dt>
    <dd>Chris Coyier (along with friends from <a href="https://codepen.io" target="_blank">CodePen</a> and <a href="http://seesparkbox.com/" target="_blank">Sparkbox</a>) are hosting.</dd>
    <dt>Why</dt>
    <dd>Fun. It can be refreshing to hear lots of ideas from lots of differnet people in rapid little sessions.</dd>
  </dl>
  
  <a href="https://nvite.com/ShowTellConverge/d025" target="_blank" class="button">RSVP!</a>
  <p>It's not strictly necessary to RSVP, it'll just help us make sure we have enough space.</p>
  
</main>
            
          
!

CSS

            
              @import url(https://fonts.googleapis.com/css?family=Lato:900,300);

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 150%;
  text-align: center;
  background: #F88924;
  color: white;
}

main {
  max-width: 500px;
  margin: 20px auto;
  img {
    max-width: 100%;
    margin: 0 0 50px 0;
  }
}

dl, dt, dd {
  margin: 0;
  padding: 0;
}

p {
  margin: 0 0 10px 0;
}

dl {
  padding: 10px;
}

dt {
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid white;
}
dd {
  margin: 0 0 50px 0;
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid white;
  &:hover,
  &:focus {
    color: yellow;
  }
}

.button {
  display: block;
  background: white;
  color: #F88924;
  padding: 10px;
  border-radius: 100px;
  margin: 0 0 10px 0;
  &:hover,
  &:focus {
    color: black;
  }
}

            
          
!

JS

            
              
            
          
!
999px

Console