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

              
                <p>animation-timing-function:ease</p>
<div class="ease"></div>

<p>animation-timing-function:ease-in</p>
<div class="ease-in"></div>

<p>animation-timing-function:ease-out</p>
<div class="ease-out"></div>

<p>animation-timing-function:ease-in-out</p>
<div class="ease-in-out"></div>

<p>animation-timing-function:linear</p>
<div class="linear"></div>

<p>animation-timing-function:step-start</p>
<div class="step-start"></div>

<p>animation-timing-function:step-end</p>
<div class="step-end"></div>

<p>animation-timing-function:steps(6,jump-none)</p>
<div class="steps"></div>

<p>animation-timing-function:cubic-bezier(.05, .8, .1, .95)</p>
<div class="cubic"></div>
              
            
!

CSS

              
                div {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FF7A59;
  position: relative;
  animation: MyDiv 4s;
}
.ease {
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}
.ease-in {
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
.ease-out {
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.ease-in-out {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.linear {
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.step-start {
  animation-timing-function: step-start;
}
.step-end {
  animation-timing-function: step-end;
  animation-fill-mode: forwards;
}
.steps {
  animation-timing-function: steps(6,jump-none);
  animation-iteration-count: infinite;
}
.cubic {
  animation-timing-function: cubic-bezier(.05, .8, .1, .95);
  animation-iteration-count: infinite;
}

@keyframes MyDiv {
  0%   {left: 0px; top: 0px;}
  100%  {left: 150px; top: 0px;}
}
              
            
!

JS

              
                
              
            
!
999px

Console