Pen Settings



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


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.


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.




                body {
  width: 100%;
  height: 100vh;

div {
  width: 5vw;
  height: 5vw;
  border-radius: 100%;
  background: orange;
  position: absolute;
  left: -10vw;
  bottom: 0;


                const tl = new TimelineMax({repeat: -1});

  .to('div', 4, {x: '2200%', 
Power0.easeNone}, '0')
  .to('div', 4, { y: '-300%', ease: CustomEase.create('SunPath', 'M0,3137 C102.427918,3139.70658 206.094584,3115.34744 311,3063.92256 C472,2985 455.527045,2966.89852 519,2967 C571.094786,2967.08329 598.803825,2997.81136 698.919351,3063.92256 C772.824052,3112.72547 881.184268,3137.63034 1024,3138.63718') }, '0')