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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

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


                <blockquote class='padding'>
  <div class='blockquote-content padding'>
    <p class='oblique'>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.<br/>
    Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


                $spacing: 40px
$radius: 4px
$color: #BDCDE8

@import url("")

$dir: ""

=prefix($property, $value)
  -webkit-#{$property}: #{$value}
  -ms-#{$property}: #{$value}
  -moz-#{$property}: #{$value}
  -o-#{$property}: #{$value}
  #{$property}: #{$value}

=radius($rad: $radius)
  +prefix(border-radius, #{$rad})

=bg($position: "center center", $size: cover)
  background-position: #{$position}
  background-size: #{$size}
  background-repeat: no-repeat

=bg-image($dir, $size: cover, $position: "center center")
  +bg(#{$position}, #{$size})
  background-image: url(#{$dir})

  position: absolute
  top: 50%
  left: 50%
  +prefix(transform, "translate(-50%, -50%)")

  padding: 0
  margin: 0
  border: 0
  border-radius: 0
  font-size: 13px
  box-sizing: border-box
  color: #888
  font-family: 'Merriweather Sans', sans-serif

  background-color: #eee

  color: #eee

  padding: $spacing

  width: 100%
  max-width: 600px

    width: 100%
    display: block
    overflow: hidden
    border-top: 10px solid $color
    background-color: #fff
    position: relative

      width: 250px
      height: 250px
      display: block
      background-color: $color
      content: " "
      position: absolute
      bottom: 0
      right: 0
      z-index: 1
      opacity: .3
      +prefix(transform, "translate(30%, 30%)")
      +bg-image("#{$dir}_media/icons/blockquotes.png", "auto 50%")

      position: relative
      font-style: oblique
      z-index: 2

@media screen and (max-width: 300px)
    zoom: .8

@media screen and (max-height: 300px)
    zoom: .8