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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <div id="elems">
  <div class="box linear"></div>
  <div class="box InQuad"></div>
  <div class="box InCubic"></div>
  <div class="box InQuart"></div>
  <div class="box InQuint"></div>
  <div class="box InSine"></div>
  <div class="box InExpo"></div>
  <div class="box InCirc"></div>
  <div class="box InBack"></div>
  <div class="box OutQuad"></div>
  <div class="box OutCubic"></div>
  <div class="box OutQuart"></div>
  <div class="box OutQuint"></div>
  <div class="box OutSine"></div>
  <div class="box OutExpo"></div>
  <div class="box OutCirc"></div>
  <div class="box OutBack"></div>
  <div class="box InOutQuad"></div>
  <div class="box InOutCubic"></div>
  <div class="box InOutQuart"></div>
  <div class="box InOutQuint"></div>
  <div class="box InOutSine"></div>
  <div class="box InOutExpo"></div>
  <div class="box InOutCirc"></div>
  <div class="box InOutBack"></div>
</div>
            
          
!

CSS

            
              .box{
  background-color: #ea0f9b;
  width: 20px;
  height: 5px;
  margin-bottom: 5px;
  margin-left: 15px;
}
            
          
!

JS

            
              var all = anime.timeline();
all
  .add({
    targets: '#elems .linear', translateX: 250, offset: 0, duration: 2000,
    easing: 'linear'
  })
  .add({
    targets: '#elems .InQuad', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInQuad'
  })
  .add({
    targets: '#elems .InCubic', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInCubic'
  })
  .add({
    targets: '#elems .InQuart', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInQuart'
  })
  .add({
    targets: '#elems .InQuint', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInQuint'
  })
  .add({
    targets: '#elems .InSine', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInSine'
  })
  .add({
    targets: '#elems .InExpo', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInExpo'
  })
  .add({
    targets: '#elems .InCirc', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInCirc'
  })
  .add({
    targets: '#elems .InBack', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInBack'
  })
.add({
    targets: '#elems .OutQuad', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeOutQuad'
  })
  .add({
    targets: '#elems .OutCubic', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeOutCubic'
  })
  .add({
    targets: '#elems .OutQuart', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeOutQuart'
  })
  .add({
    targets: '#elems .OutQuint', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeOutQuint'
  })
  .add({
    targets: '#elems .OutSine', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeOutSine'
  })
  .add({
    targets: '#elems .OutExpo', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeOutExpo'
  })
  .add({
    targets: '#elems .OutCirc', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeOutCirc'
  })
  .add({
    targets: '#elems .OutBack', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeOutBack'
  })
.add({
    targets: '#elems .InOutQuad', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInOutQuad'
  })
  .add({
    targets: '#elems .InOutCubic', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInOutCubic'
  })
  .add({
    targets: '#elems .InOutQuart', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInOutQuart'
  })
  .add({
    targets: '#elems .InOutQuint', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInOutQuint'
  })
  .add({
    targets: '#elems .InOutSine', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInOutSine'
  })
  .add({
    targets: '#elems .InOutExpo', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInOutExpo'
  })
  .add({
    targets: '#elems .InOutCirc', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInOutCirc'
  })
  .add({
    targets: '#elems .InOutBack', translateX: 250, offset: 0, duration: 2000,
    easing: 'easeInOutBack'
  });
            
          
!
999px

Console