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.



Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO


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.


Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:


Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO


                <svg xmlns="" width="50px" height="50px" viewBox="0 0 438.533 438.533"><path d="M409.133 109.203c-19.608-33.592-46.205-60.19-79.798-79.796C295.735 9.8 259.058 0 219.273 0c-39.78 0-76.47 9.8-110.063 29.407-33.595 19.604-60.192 46.2-79.8 79.796C9.8 142.8 0 179.49 0 219.267c0 39.78 9.804 76.463 29.407 110.062 19.607 33.59 46.204 60.188 79.8 79.797 33.596 19.605 70.282 29.407 110.062 29.407s76.47-9.802 110.064-29.407c33.593-19.602 60.19-46.206 79.795-79.798 19.602-33.597 29.402-70.285 29.402-110.063 0-39.782-9.8-76.472-29.4-110.064zM322.62 270.94c3.618 3.612 5.43 7.904 5.43 12.853 0 5.133-1.812 9.514-5.43 13.127l-25.692 25.7c-3.614 3.614-7.994 5.42-13.135 5.42-4.948 0-9.236-1.806-12.847-5.42l-51.676-51.68-51.678 51.68c-3.616 3.614-7.898 5.42-12.847 5.42-5.14 0-9.517-1.806-13.134-5.42l-25.696-25.7c-3.616-3.613-5.424-7.994-5.424-13.127 0-4.948 1.81-9.24 5.424-12.854l51.678-51.674-51.678-51.678c-3.616-3.612-5.424-7.898-5.424-12.847 0-5.14 1.81-9.516 5.424-13.133l25.697-25.693c3.618-3.616 7.995-5.424 13.135-5.424 4.95 0 9.23 1.81 12.847 5.424l51.678 51.674 51.676-51.674c3.61-3.616 7.898-5.424 12.847-5.424 5.14 0 9.52 1.81 13.135 5.424l25.693 25.693c3.618 3.617 5.43 7.994 5.43 13.134 0 4.95-1.812 9.236-5.43 12.848l-51.674 51.678 51.675 51.673z"/></svg>
<div id="alive"> It's ALIVE I said!! </div>



                html, body{
 height: 100%;
svg {
  cursor: pointer;
  position: absolute;
    left: 663px;
    top: 45%;

  width: 100%; 


                var circle = $('svg'),
    alive = document.getElementById('alive'),
    tl = new TimelineLite({paused:true, reversed:true});

.to (circle, 2, {left:'20px'})
.set (alive, {display:'block'},"-=2")
.to (alive, 1, {opacity:1},"-=2"); () {
     tl.reversed() ? : tl.reverse();
💕 I'm the CSS to your HTML.