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. 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


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.


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.


                <svg  viewBox="0 0 512 512" xmlns="">
  <path d="M416.179 364.547c2.726-10.749 4.151-21.716 4.151-32.663 0-33.991 4.626-39.256 10.482-45.922L405.207 71.55h-19.155c-33.09 0-64.814-10.166-91.739-29.399l-1.925-1.376a62.533 62.533 0 0 0-36.387-11.66l-10.667 173.55L256 341.333z" fill="#0cba68"/>
  <path d="M256 341.333V29.116a62.523 62.523 0 0 0-36.391 11.659l-1.927 1.376c-26.926 19.233-58.649 29.399-91.74 29.399h-19.246L79.218 280.027c6.678 8.258 12.445 15.39 12.445 51.857 0 10.979 1.377 21.964 4.012 32.717z" fill="#0dca71"/>
  <path class="mouth" d="M256 482.868c45.592-.334 87.654-17.067 118.569-47.221 20.609-20.102 34.98-44.954 41.61-71.1L256 305.221 234.667 384z" fill="#7fe680"/>
  <path class="mouth" d="M254.61 482.884c.465 0 .927-.012 1.39-.016V305.221l-160.325 59.38c6.408 26.162 20.299 50.947 40.221 70.905 30.496 30.552 72.656 47.378 118.714 47.378z" fill="#b6ff9e"/>
    <path d="M210.898 283.819l-.831-.832c-22.928-22.928-35.558-53.418-35.558-85.849v-19.921h30v19.921c0 24.418 9.509 47.374 26.775 64.64l.836.836z" fill="#0cba68"/>
  <g id="left_eye">
    <ellipse cx="102.255" cy="177.217" fill="#ffecbb" rx="87.255" ry="101.333" stroke="#06995e" stroke-width="30"/>
    <path d="M87.255 146.921h30v60.592h-30z" fill="#32393f"/>
    <path d="M301.096 283.825l-21.211-21.216.832-.832c17.265-17.265 26.773-40.221 26.773-64.639v-19.921h30v19.921c0 32.43-12.629 62.92-35.561 85.853z" fill="#0bad61"/>
  <g id="right_eye">

    <ellipse cx="409.745" cy="177.217" fill="#ffe5a5" rx="87.255" ry="101.333" stroke="#06995e" stroke-width="30"/>
    <path d="M394.745 146.921h30v60.592h-30z" fill="#262b2f"/>


                body {
  padding: 2vh 2vw;

svg {
  width: 96vw;
  height: 96vh;



                const tl = gsap.timeline({repeat: -1, yoyo: true});

tl.addLabel('begin')"#left_eye", {
  duration: 0.5,
  x: -20
})"#right_eye", {
  duration: 0.5,
  x: 20
}, 'begin')".mouth", {
  duration: 0.5,
  y: 15
}, 'begin')