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.


                // Learn about this code on MDN:

label text-stroke
p.outline01 OUTLINE
p.outline02 OUTLINE
  p.outline01.color-transparent TRANSPARENT

label text-shadow
p.outline03 OUTLINE
p.outline03-2 OUTLINE
  small (blur)

label text-stroke &amp; text-shadow
p.outline04 OUTLINE

label use SVG
    svg.svg-outline(viewBox="0 0 400 100")
      text(x="0", y="1em") SVG OUTLINE
    svg.svg-outline(viewBox="0 0 200 100")
      text(x="0", y="1em") 日本語


  margin: 0
  padding: 1rem
  background-color: #fad500
  text-align: center
  font-size: 2rem
  color: #fad500
  font-size: 5rem
  letter-spacing: .25rem
  margin: 0 0 1.5rem
  font-size: 3rem
  color: transparent
// text-stroke
  -webkit-text-stroke: 2px #000
  display: none
  -webkit-text-stroke-width: 2px
  -webkit-text-stroke-color: #000

// text-shadow
  text-shadow: #000 2px 2px 0px, #000 -2px 2px 0px, #000 2px -2px 0px, #000 -2px -2px 0px

// text-shadow use blur
  text-shadow: #000 2px 2px 1px, #000 -2px 2px 1px, #000 2px -2px 1px, #000 -2px -2px 1px

// text-stroke & text-shadow
  -webkit-text-stroke: 1px #000
  text-shadow: #000 1px 1px 0px, #000 -1px 1px 0px, #000 1px -1px 0px, #000 -1px -1px 0px

// svg outline
  fill: #fad500
  stroke: #000
  stroke-width: 1
  stroke-linejoin: round
  stroke-linecap: round
  position: relative
  margin-bottom: 1em
  background-color: #eea128
  overflow: hidden
    content: ''
    display: block
    position: absolute
    top: 0
    left: 50%
    height: 100%
    width: 100%
    background-color: #e3010f
    transform: skewX(-30deg)
    z-index: 0
    position: relative
    z-index: 1
      margin-bottom: 0

  text-align: center
  height: 5rem
  font-size: 2rem
  display: inline-block
  margin: auto
  padding: 0
  width: 100%
  height: auto
  overflow: hidden