Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                //maybe does not work with Safari
//please check with Chrome

div The quick brown fox jumps over the lazy dog
div.right The quick brown fox jumps over the lazy dog
div The quick brown fox jumps over the lazy dog
div.right The quick brown fox jumps over the lazy dog
div The quick brown fox jumps over the lazy dog
div.right The quick brown fox jumps over the lazy dog
div The quick brown fox jumps over the lazy dog

#blurs
  - for (var x = 0; x < 80; x++)
      span(class='blur')
      

.filt.    
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svgNoise" class="u-svg-none">
    <defs>
      <filter id="noiseEffect2" filterUnits="objectBoundingBox" x="-20%" y="-20%" width="140%" height="140%">
        <feTurbulence type="fractalNoise" baseFrequency="0.015" numOctaves="1" seed="1" stitchTiles="stitch" result="particle"></feTurbulence>
        <feDisplacementMap scale="110.1" in="SourceGraphic" in2="particle" xChannelSelector="R" yChannelSelector="G">

        </feDisplacementMap></filter>
    </defs>
  </svg>
              
            
!

CSS

              
                body
  font-size: 100px
  color: #f00
  background-color: #fff
  margin: 50px
  font-family: Helvetica

.filt
  display: none
  
.right
  text-align: right
  
  
#blurs
  
  position: fixed
  top: 0
  left: 0
  width: 100%
  z-index: 1000
  pointer-events: none
  line-height: 40%
  
.blur
  border: 1px solid #f00
  background: rgba(255,0,0,0.05)  
  margin: 0
  padding: 0
  display: inline-block
  border-radius: 100px
  width: 200px
  height: 200px
  backdrop-filter: url(#noiseEffect2)
  -webkit-backdrop-filter: url(#noiseEffect2)
  
  &:nth-child(4n+1)
     opacity: 0
              
            
!

JS

              
                
              
            
!
999px

Console