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.

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="content">
  <p>Curabitur <del>blandit tempus porttitor</del>. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Etiam porta sem malesuada magna mollis euismod.</p>

  <p>Etiam porta sem malesuada magna mollis euismod. Integer posuere erat a ante venenatis <del>dapibus posuere velit aliquet</del>. Sed posuere consectetur est at lobortis. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Etiam porta sem malesuada magna mollis euismod. Curabitur blandit tempus porttitor.</p>

  <p>Morbi leo risus, <del>porta ac consectetur ac, vestibulum at eros. Nullam id dolor id nibh ultricies vehicula ut id elit</del>. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Cras mattis consectetur purus sit amet fermentum. Aenean eu leo quam. Pellentesque ornare sem <del>lacinia quam</del> venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Sed posuere consectetur est at lobortis.</p>
</div>
              
            
!

CSS

              
                @import "nib"

body {
  background-color darken(white,10%)
}

.content {
  font-family "American Typewriter", "Courier New", Courier, monospace
  font-size 14px
  line-height 20px
  width 600px
  margin 2em auto
  padding 3em
  box-shadow 0 5px 10px rgba(black,.25)
  background-color white
}

p {
  display block
  margin 0 0 1em 0
  font-smoothing subpixel-antialiased
  color lighten(black,30%)
}

del span {
  display inline-block
  background-color black
  color transparent
  transform rotate(.5deg) skewx(-8deg)
  padding 0 1em
  margin 0 -.5em
  user-select none
  cursor default
  border-radius 2px
  
  &:nth-child(1) {
    transform rotate(1deg)
  }
  
  &:nth-child(2) {
    transform rotate(-1deg)
  }
  
  &:nth-child(5) {
    transform rotate(2deg)
  }
}
              
            
!

JS

              
                $('del').lettering('words')
              
            
!
999px

Console