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

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.

HTML

              
                <section>
  <figure>
    <svg style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css">
	.ic0{fill:#F9AC82;}
	.ic1{fill:#F8BC95;}
	.ic2{fill:#0083BF;}
	.ic3{fill:#0095DA;}
	.ic4{fill:#EE3544;}
	.ic5{fill:#F15C5C;}
	.ic6{fill:#1A3F6F;}
</style><g><polygon class="ic0" points="183.5,282.2 249.8,440.8 249.5,440.8 315.6,282.2  "/><path class="ic1" d="M247.7,394c-2.4,0-4.6-1.4-5.5-3.7l-36.2-87c-1.3-3.1,0.2-6.6,3.2-7.8c3.1-1.3,6.6,0.2,7.8,3.2l36.2,87   c1.3,3.1-0.2,6.6-3.2,7.8C249.2,393.9,248.4,394,247.7,394z"/><path class="ic2" d="M335.6,227.2c-2.4,0-4.6,0.5-6.7,1.4c5.3-11.3,8.2-23.8,8.2-37.1c0-48.4-39.2-87.6-87.6-87.6   c-48.4,0-87.6,39.2-87.6,87.6c0,13.3,3,25.9,8.2,37.1c-2.1-0.9-4.3-1.4-6.7-1.4c-9.3,0-16.9,7.6-16.9,16.9s7.6,16.9,16.9,16.9   c3.3,0,6.4-1,9-2.6c-1.7,2.6-2.6,5.7-2.6,9c0,9.3,7.6,16.9,16.9,16.9c5.7,0,10.8-2.9,13.9-7.2c-0.1,0.6-0.1,1.3-0.1,1.9   c0,9.3,7.6,16.9,16.9,16.9c6.8,0,12.6-4,15.3-9.7c-0.1,0.6-0.1,1.2-0.1,1.8c0,9.3,7.6,16.9,16.9,16.9c9.3,0,16.9-7.6,16.9-16.9   c0-0.6,0-1.2-0.1-1.8c2.7,5.7,8.5,9.7,15.3,9.7c9.3,0,16.9-7.6,16.9-16.9c0-0.6,0-1.3-0.1-1.9c3.1,4.4,8.1,7.2,13.9,7.2   c9.3,0,16.9-7.6,16.9-16.9c0-3.3-1-6.4-2.6-9c2.6,1.6,5.7,2.6,9,2.6c9.3,0,16.9-7.6,16.9-16.9S344.9,227.2,335.6,227.2z"/><path class="ic3" d="M181.6,207.7c-2.9,0-5.4-2.1-5.9-5c-3.2-19.5,1.4-39,13-55c11.5-16,28.6-26.6,48-29.7c3.3-0.5,6.4,1.7,6.9,5   c0.5,3.3-1.7,6.4-5,6.9c-16.3,2.7-30.6,11.5-40.2,24.9c-9.6,13.4-13.5,29.8-10.8,46.1c0.5,3.3-1.7,6.4-5,6.9   C182.2,207.6,181.9,207.7,181.6,207.7z"/><circle class="ic4" cx="282.8" cy="115.5" r="30"/><path class="ic5" d="M295.7,121c-0.3,0-0.5,0-0.8-0.1c-3.3-0.4-5.6-3.4-5.2-6.7c0.5-3.7-3.4-5.1-4.6-5.4c-3.2-0.9-5.1-4.1-4.2-7.3   c0.8-3.2,4.2-5.1,7.4-4.3c0.6,0.2,3.9,1.1,7,3.6c4.8,3.7,7.1,9.1,6.3,15C301.3,118.8,298.7,121,295.7,121z"/><path class="ic6" d="M338.2,221.3c3.2-9.6,4.9-19.6,4.9-29.9c0-25.1-10-48-26.1-64.8c1.1-3.5,1.8-7.2,1.8-11.1   c0-11.9-5.9-22.5-14.8-29.1c2.2-3.3,6.2-7.6,13.2-9.4c3.2-0.8,5.1-4.1,4.3-7.3c-0.8-3.2-4.1-5.1-7.3-4.3   c-11.4,3-17.7,10.3-20.9,15.7c-3.3-1-6.8-1.5-10.4-1.5c-13.4,0-25.2,7.4-31.3,18.4c-0.6,0-1.3,0-1.9,0c-51.6,0-93.6,42-93.6,93.6   c0,10.3,1.6,20.3,4.9,29.9c-11.4,1.3-20.2,11-20.2,22.8c0,12.6,10.3,22.9,22.9,22.9c0.1,0,0.2,0,0.4,0c0,0.1,0,0.3,0,0.4   c0,10.3,6.8,19,16.1,21.9l63.6,152.2c0.1,0.9,0.4,1.8,1,2.6c1.1,1.7,3,2.7,5,2.7h0.3c2,0,3.9-1,5-2.7c0.5-0.8,0.9-1.7,1-2.6   l63.4-152.2c9.3-2.9,16.1-11.6,16.1-21.9c0-0.1,0-0.3,0-0.4c0.1,0,0.2,0,0.4,0c12.6,0,22.9-10.3,22.9-22.9   C358.5,232.4,349.6,222.7,338.2,221.3z M282.8,91.6c3.4,0,6.6,0.7,9.5,2c0.6,0.5,1.2,0.8,2,1.1c0.1,0,0.2,0,0.3,0.1   c7.3,4.1,12.2,11.9,12.2,20.9c0,13.2-10.8,24-24,24s-24-10.8-24-24S269.6,91.6,282.8,91.6z M249.6,424.9l-56.6-135.4   c1.2-0.3,2.3-0.8,3.4-1.3c3.5,8.1,11.6,13.7,21,13.7c4.2,0,8.3-1.2,11.8-3.3c3.8,7.3,11.5,12.3,20.3,12.3c8.8,0,16.5-5,20.3-12.3   c3.5,2.1,7.6,3.3,11.8,3.3c9.4,0,17.4-5.6,21-13.7c1.1,0.5,2.2,0.9,3.4,1.3L249.6,424.9z M335.6,255c-2,0-4-0.6-5.8-1.7   c-2.4-1.5-5.5-1.1-7.4,0.8c-2,2-2.3,5.1-0.8,7.4c1.1,1.8,1.7,3.8,1.7,5.8c0,6-4.9,10.9-10.9,10.9c-3.5,0-6.9-1.7-8.9-4.7   c-1.6-2.2-4.5-3.1-7-2.2s-4.1,3.6-3.8,6.3c0.1,0.5,0.1,0.9,0.1,1.2c0,6-4.9,10.9-10.9,10.9c-4.2,0-8.1-2.5-9.9-6.3   c-1.2-2.6-4.2-4-7-3.2c-2.8,0.8-4.7,3.5-4.3,6.4c0,0.4,0.1,0.8,0.1,1.1c0,6-4.9,10.9-10.9,10.9s-10.9-4.9-10.9-10.9   c0-0.4,0-0.8,0.1-1.2c0.3-2.9-1.5-5.6-4.4-6.4c-0.5-0.2-1.1-0.2-1.6-0.2c-2.3,0-4.4,1.3-5.4,3.4c-1.8,3.8-5.7,6.3-9.9,6.3   c-6,0-10.9-4.9-10.9-10.9c0-0.4,0-0.8,0.1-1.2c0.3-2.7-1.3-5.3-3.8-6.3c-2.6-1-5.5-0.1-7,2.2c-2,2.9-5.4,4.7-8.9,4.7   c-6,0-10.9-4.9-10.9-10.9c0-2,0.6-4.1,1.7-5.8c1.5-2.4,1.2-5.5-0.8-7.4c-2-2-5.1-2.3-7.4-0.8c-1.7,1.1-3.7,1.7-5.8,1.7   c-6,0-10.9-4.9-10.9-10.9c0-6,4.9-10.9,10.9-10.9c1.5,0,2.9,0.3,4.3,0.9c2.3,1,4.9,0.5,6.7-1.3c1.7-1.8,2.2-4.5,1.1-6.7   c-5.1-10.9-7.7-22.5-7.7-34.6c0-44.2,35.4-80.3,79.3-81.5c-0.3,1.8-0.4,3.7-0.4,5.6c0,19.8,16.1,36,36,36   c11.4,0,21.6-5.3,28.2-13.6c12.5,14.3,20.2,33.1,20.2,53.6c0,12.1-2.6,23.7-7.7,34.6c-1.1,2.3-0.6,4.9,1.1,6.7s4.4,2.3,6.7,1.3   c1.4-0.6,2.8-0.9,4.3-0.9c6,0,10.9,4.9,10.9,10.9C346.5,250.1,341.6,255,335.6,255z"/></g></svg>
  </figure>
  <article>
    <h1>Ice Cream</h1>
    <p>
      Thanks for the great <a target="_blank" href="https://www.youtube.com/watch?v=u8p21XaSzpo">Tutorial</a> Gary! Nunc ac nunc eget libero gravida vestibulum id eu turpis. Phasellus convallis justo vel tempus lacinia. Sed euismod ligula eu maximus accumsan. Mauris nibh sem, interdum vel lectus ut, vehicula
      convallis augue. Praesent leo ligula, vulputate at diam ac, egestas pharetra turpis. Morbi eleifend a enim et consectetur. Sed ligula justo, fermentum gravida luctus id, elementum quis felis. Vivamus vel ipsum ut leo semper gravida vitae a orci.
      Vestibulum luctus aliquam ultrices.
    </p>
    <p>
      Quisque eget mi sit amet ex tincidunt convallis. In neque magna, placerat vitae turpis sed, tincidunt suscipit felis. Phasellus non ligula consequat, auctor massa nec, aliquam magna. Aenean vestibulum molestie magna euismod consectetur. Class aptent taciti
      sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec fringilla elementum libero egestas facilisis. In elementum tempus sem nec dictum. Phasellus quis erat vehicula, auctor lorem at, tincidunt nisi. Fusce varius fermentum
      purus, ornare consectetur metus tempus at. Donec vel facilisis orci, sed fringilla dolor. Sed vitae congue ante, eget facilisis tellus. Pellentesque interdum dictum orci, pulvinar dictum magna luctus in.
    </p>
    <p>
      Phasellus molestie hendrerit enim. Nam posuere nisl quis odio ornare porta. Maecenas sit amet semper arcu. Phasellus blandit mauris ac leo iaculis, in mattis augue faucibus. Praesent eleifend tempor erat vel consequat. Morbi sit amet dolor diam. Praesent
      accumsan efficitur felis a molestie. Integer bibendum risus vitae augue molestie laoreet. Vestibulum dapibus ipsum eget est imperdiet, in lacinia ligula varius. Vestibulum molestie sapien felis, eu eleifend erat finibus eget. Fusce a ultrices sem.
      Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In sollicitudin eros eu rutrum egestas.
    </p>
    <p>
      Morbi gravida vitae lectus nec cursus. Maecenas metus sem, tincidunt id venenatis eget, condimentum in lacus. Suspendisse aliquet vel velit id aliquam. Morbi aliquet neque sed dignissim mollis. Nunc sapien arcu, vestibulum nec erat eget, faucibus convallis
      est. Sed ullamcorper ornare erat, convallis convallis turpis accumsan eu. Aenean libero est, imperdiet nec efficitur vel, placerat ac ipsum.
    </p>
    <p>
      Nam a augue vel augue sagittis lacinia. Etiam laoreet sodales nisi, quis laoreet est vulputate vitae. Pellentesque consectetur a diam nec lacinia. Praesent sit amet lacus in eros egestas aliquam et ac lectus. Suspendisse convallis, erat quis aliquam maximus,
      dolor massa vehicula felis, sit amet tempor risus magna at dolor. Nunc sed lectus vel risus posuere imperdiet. Donec cursus commodo nisi at ullamcorper. Aenean rhoncus libero augue, eu faucibus enim commodo gravida. Mauris laoreet, ligula fermentum
      pharetra tincidunt, arcu massa elementum tortor, a sollicitudin lorem felis in lorem. Maecenas nulla elit, fringilla a metus ut, malesuada placerat tortor. Suspendisse maximus nunc metus, vel dapibus sem pellentesque ac. Nam neque ipsum, accumsan
      nec nisl sed, eleifend viverra ipsum.
    </p>
  </article>
</section>

<section>
  <figure>
    <svg style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css">
	.sd0{fill:#EE3544;}
	.sd1{fill:#0083BF;}
	.sd2{fill:#FFCB05;}
	.sd3{fill:#F9AC82;}
	.sd4{fill:none;stroke:#1A3F6F;stroke-width:12;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
	.sd5{fill:#F8BC95;}
	.sd6{fill:#FFFFFF;}
	.sd7{fill:#F1F2F2;}
	.sd8{fill:#FFDE2F;}
	.sd9{fill:#0095DA;}
	.sd10{fill:#F15C5C;}
	.sd11{fill:#1A3F6F;}
</style><g><path class="sd0" d="M287.2,177.4c10.4-3.6,17.9-13.6,17.9-25.3c0-14.8-12-26.7-26.7-26.7c-14.8,0-28.6,12.8-26.7,29.7   C251.7,155.1,251.6,169.5,287.2,177.4"/><circle class="sd1" cx="314.1" cy="322.6" r="64"/><circle class="sd2" cx="197.5" cy="313.8" r="69.5"/><path class="sd3" d="M385.4,330.6H126.6c-2.9,0-4.9,2.9-3.9,5.6l6.9,18.6c0.6,1.6,2.2,2.7,3.9,2.7h3.5l14.2,39.3   c3.7,10.2,13.3,17,24.1,17h161.3c10.8,0,20.5-6.8,24.1-17l14.2-39.3h3.5c1.7,0,3.3-1.1,3.9-2.7l6.9-18.6   C390.3,333.5,388.3,330.6,385.4,330.6z"/><path class="sd4" d="M287.2,177.4"/><path class="sd5" d="M248.3,400.2h-54.8c-13.3,0-25.3-8.4-29.8-20.9L152.8,349c-1.1-3.1,0.5-6.6,3.6-7.7c3.1-1.1,6.6,0.5,7.7,3.6   l10.9,30.3c2.8,7.8,10.2,13,18.5,13h54.8c3.3,0,6,2.7,6,6S251.7,400.2,248.3,400.2z"/><path class="sd6" d="M186.6,246c0,0,60.8,66,125.8,10.9c0,0,16.1-21.2,12.4-47.4c-2.5-17.8-16.5-25.6-42.3-34   c-12.7-4.4-29.9-13.3-35.2-22.6c-5.9-10.6-8.7-30.8-8.7-30.8c-73.9,59.8-9.8,95.4-9.8,95.4C204.9,222.3,188.8,232.7,186.6,246z"/><path class="sd7" d="M230.6,200.5c-1.4,0-2.8-0.5-3.9-1.5c-7.8-6.8-10.4-16.7-7.4-28.7c2-8.3,6.1-14.7,6.2-15   c1.8-2.8,5.5-3.7,8.3-1.9c2.8,1.8,3.6,5.5,1.9,8.3l0,0c-0.1,0.2-11.7,19.2-1.2,28.3c2.5,2.2,2.8,6,0.6,8.5   C233.9,199.8,232.2,200.5,230.6,200.5z"/><path class="sd7" d="M309.9,223.4c-3,0-5.6-2.3-6-5.4c-0.1-1.1-1.5-10.7-11-12c-3.3-0.4-5.6-3.5-5.1-6.8c0.4-3.3,3.5-5.6,6.8-5.1   c15.3,2.1,20.6,15.7,21.3,22.7c0.3,3.3-2.1,6.2-5.4,6.6C310.3,223.4,310.1,223.4,309.9,223.4z"/><path class="sd7" d="M214.3,250.3c-2.2,0-4.2-1.2-5.3-3.2c-1.5-2.9-0.4-6.6,2.5-8.1c27.7-14.7,65.7-11.5,67.3-11.4   c3.3,0.3,5.7,3.2,5.5,6.5c-0.3,3.3-3.2,5.7-6.5,5.5c-0.5,0-36.2-2.9-60.7,10.1C216.2,250.1,215.3,250.3,214.3,250.3z"/><path class="sd8" d="M149.4,317.5c-0.2,0-0.3,0-0.5,0c-3.3-0.2-5.8-3.1-5.5-6.4c0.1-1.3,2.7-32.2,29.2-45.9   c2.9-1.5,6.6-0.4,8.1,2.6c1.5,2.9,0.4,6.6-2.6,8.1c-20.6,10.6-22.7,35.9-22.8,36.1C155.1,315.1,152.5,317.5,149.4,317.5z"/><path class="sd9" d="M355.1,308.2c-2.2,0-4.3-1.2-5.3-3.2c-10.6-20.6-35.9-22.7-36.1-22.8c-3.3-0.2-5.8-3.1-5.5-6.4   c0.2-3.3,3.1-5.8,6.4-5.5c1.3,0.1,32.2,2.7,45.9,29.2c1.5,2.9,0.4,6.6-2.6,8.1C357,308,356,308.2,355.1,308.2z"/><path class="sd10" d="M287.2,160.5c-0.3,0-0.5,0-0.8-0.1c-3.3-0.4-5.6-3.4-5.2-6.7c0.5-3.7-3.4-5.1-4.6-5.4   c-3.2-0.9-5.1-4.1-4.2-7.3c0.8-3.2,4.2-5.1,7.4-4.3c0.6,0.2,3.9,1.1,7,3.6c4.8,3.7,7.1,9.1,6.3,15   C292.8,158.3,290.2,160.5,287.2,160.5z"/><path class="sd11" d="M393.7,329c-1.9-2.7-5-4.4-8.3-4.4h-1.3c0-0.7,0-1.3,0-2c0-35.7-26.8-65.2-61.4-69.4   c4.8-9.2,10.9-25,8.3-43.2c-2.4-17.6-15-26.7-30.9-33.3c6.9-6.1,11-15,11-24.5c0-8.9-3.5-16.9-9.3-22.8c2-3.4,6.1-8.4,13.7-10.3   c3.2-0.8,5.1-4.1,4.3-7.3c-0.8-3.2-4.1-5.1-7.3-4.3c-10.9,2.8-17.2,9.7-20.5,15c-4.2-1.9-8.8-3-13.7-3c-9.3,0-18.3,4.1-24.6,11.1   c-2.3,2.6-4.1,5.4-5.5,8.4c-1.8-6.6-3-13.3-3.4-16.4c-0.3-2.1-1.7-4-3.7-4.8c-2-0.8-4.3-0.4-6,0.9c-26.8,21.7-39.4,43.1-37.6,63.8   c1.4,15.6,10.6,26.9,18.3,33.8c-7.5,2.6-14.4,5.9-20,9.8c-5.9,4.1-10.2,8.7-12.6,13.6c-34.8,6.7-61.2,37.4-61.2,74.1   c0,3.9,0.3,7.8,0.9,11.5c-1.8,0.7-3.4,2-4.6,3.6c-1.9,2.7-2.3,6.2-1.2,9.3l6.9,18.6c1.4,3.7,4.9,6.3,8.8,6.6l12.8,35.4   c4.5,12.5,16.5,20.9,29.8,20.9h161.3c13.3,0,25.3-8.4,29.8-20.9l12.8-35.4c3.9-0.3,7.4-2.9,8.8-6.6l6.9-18.6   C396,335.2,395.6,331.7,393.7,329z M372.1,322.6c0,0.7,0,1.3,0,2h-99.8c0.5-3.5,0.8-7.1,0.8-10.8c0-10-2-19.5-5.5-28.3   c14.6-1.8,30.5-7.8,46.7-20.9C346.2,264.7,372.1,290.7,372.1,322.6z M257.6,154.4c-0.6-5.9,1.2-11.5,5.1-15.9   c4-4.5,9.9-7.1,15.7-7.1c11.4,0,20.7,9.3,20.7,20.7c0,8.6-5.3,16.3-13.2,19.3c-0.4-0.1-0.8-0.3-1.2-0.4c-9.7-3.4-20.7-9-27.2-14.6   C257.6,155.8,257.7,155.1,257.6,154.4z M202.6,236c7.1-4.9,16.7-8.7,27.3-11.3c0.4-0.1,0.9-0.2,1.3-0.3c16.1-3.6,34.5-4.3,50.4-1.1   c3.2,0.6,6.4-1.5,7.1-4.7c0.6-3.2-1.5-6.4-4.7-7.1c-17.1-3.4-36.4-2.9-53.7,0.8c-5.2-3.5-19.3-14.4-20.7-31   c-1.2-14.5,7.3-30.2,25.4-46.6c1.5,7,4,16.1,7.5,22.4c6.2,11,24.5,20.5,38.4,25.3c0,0,0.1,0,0.1,0c27.1,8.8,36.4,15.9,38.2,29.1   c3,21.3-8.7,39.3-10.9,42.5c-24.9,20.8-51.8,25.5-80.2,13.9c-16.8-6.9-29.4-17.7-34.4-22.4C195.1,242.3,198.1,239.1,202.6,236z    M183,252c3.1,3.2,18,17.9,40.1,27c8.9,3.7,19.6,6.6,31.5,7.1c4.1,8.4,6.4,17.8,6.4,27.8c0,3.7-0.3,7.3-0.9,10.8H134.9   c-0.6-3.5-0.9-7.1-0.9-10.8C134,283.8,155,258.6,183,252z M355.1,394.8c-2.8,7.8-10.2,13-18.5,13H175.4c-8.3,0-15.7-5.2-18.5-13   l-11.3-31.3h220.8L355.1,394.8z M377.2,351.5H134.8l-5.5-14.9h253.4L377.2,351.5z"/></g></svg>
  </figure>
  <article>
    <h1>Sundae</h1>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac nunc eget libero gravida vestibulum id eu turpis. Phasellus convallis justo vel tempus lacinia. Sed euismod ligula eu maximus accumsan. Mauris nibh sem, interdum vel lectus ut, vehicula
      convallis augue. Praesent leo ligula, vulputate at diam ac, egestas pharetra turpis. Morbi eleifend a enim et consectetur. Sed ligula justo, fermentum gravida luctus id, elementum quis felis. Vivamus vel ipsum ut leo semper gravida vitae a orci.
      Vestibulum luctus aliquam ultrices.
    </p>
    <p>
      Quisque eget mi sit amet ex tincidunt convallis. In neque magna, placerat vitae turpis sed, tincidunt suscipit felis. Phasellus non ligula consequat, auctor massa nec, aliquam magna. Aenean vestibulum molestie magna euismod consectetur. Class aptent taciti
      sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec fringilla elementum libero egestas facilisis. In elementum tempus sem nec dictum. Phasellus quis erat vehicula, auctor lorem at, tincidunt nisi. Fusce varius fermentum
      purus, ornare consectetur metus tempus at. Donec vel facilisis orci, sed fringilla dolor. Sed vitae congue ante, eget facilisis tellus. Pellentesque interdum dictum orci, pulvinar dictum magna luctus in.
    </p>
    <p>
      Phasellus molestie hendrerit enim. Nam posuere nisl quis odio ornare porta. Maecenas sit amet semper arcu. Phasellus blandit mauris ac leo iaculis, in mattis augue faucibus. Praesent eleifend tempor erat vel consequat. Morbi sit amet dolor diam. Praesent
      accumsan efficitur felis a molestie. Integer bibendum risus vitae augue molestie laoreet. Vestibulum dapibus ipsum eget est imperdiet, in lacinia ligula varius. Vestibulum molestie sapien felis, eu eleifend erat finibus eget. Fusce a ultrices sem.
      Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In sollicitudin eros eu rutrum egestas.
    </p>
    <p>
      Morbi gravida vitae lectus nec cursus. Maecenas metus sem, tincidunt id venenatis eget, condimentum in lacus. Suspendisse aliquet vel velit id aliquam. Morbi aliquet neque sed dignissim mollis. Nunc sapien arcu, vestibulum nec erat eget, faucibus convallis
      est. Sed ullamcorper ornare erat, convallis convallis turpis accumsan eu. Aenean libero est, imperdiet nec efficitur vel, placerat ac ipsum.
    </p>
    <p>
      Nam a augue vel augue sagittis lacinia. Etiam laoreet sodales nisi, quis laoreet est vulputate vitae. Pellentesque consectetur a diam nec lacinia. Praesent sit amet lacus in eros egestas aliquam et ac lectus. Suspendisse convallis, erat quis aliquam maximus,
      dolor massa vehicula felis, sit amet tempor risus magna at dolor. Nunc sed lectus vel risus posuere imperdiet. Donec cursus commodo nisi at ullamcorper. Aenean rhoncus libero augue, eu faucibus enim commodo gravida. Mauris laoreet, ligula fermentum
      pharetra tincidunt, arcu massa elementum tortor, a sollicitudin lorem felis in lorem. Maecenas nulla elit, fringilla a metus ut, malesuada placerat tortor. Suspendisse maximus nunc metus, vel dapibus sem pellentesque ac. Nam neque ipsum, accumsan
      nec nisl sed, eleifend viverra ipsum.
    </p>
  </article>
</section>

<section>
  <figure>
    <svg style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css">
	.ei0{fill:#F9AC82;}
	.ei1{fill:#F8BC95;}
	.ei2{fill:#FFCB05;}
	.ei3{fill:#FFDE2F;}
	.ei4{fill:#1A3F6F;}
</style><g><path class="ei0" d="M256,463.7L256,463.7c-9,0-16.2-7.3-16.2-16.2V321.8h32.4v125.7C272.2,456.5,265,463.7,256,463.7z"/><path class="ei1" d="M252.6,421.7c-3.3,0-6-2.7-6-6v-79.8c0-3.3,2.7-6,6-6s6,2.7,6,6v79.8C258.6,419.1,256,421.7,252.6,421.7z"/><path class="ei1" d="M252.6,451.6c-3.3,0-6-2.7-6-6v-11c0-3.3,2.7-6,6-6s6,2.7,6,6v11C258.6,448.9,256,451.6,252.6,451.6z"/><g><path class="ei2" d="M279.8,48.3h-19.1c0,0.5,0,1,0,1.5c0,11.4-6.9,21.1-16.7,25.4c2.3,4.1,3.7,8.8,3.7,13.8    c0,15.3-12.4,27.6-27.6,27.6c-4.6,0-8.9-1.1-12.6-3.1c-1.8,13.6-13.3,24-27.4,24c-0.9,0-1.8,0-2.7-0.1v163.1    c0,30.3,24.6,54.9,54.9,54.9h47.5c30.3,0,54.9-24.6,54.9-54.9V103.2C334.7,72.8,310.1,48.3,279.8,48.3z"/></g><path class="ei3" d="M196.1,310.8c-3.3,0-6-2.7-6-6V157c0-3.3,2.7-6,6-6s6,2.7,6,6v147.8C202.1,308.1,199.4,310.8,196.1,310.8z"/><path class="ei4" d="M279.8,42.3h-18.6c-1.6,0-3.2,0.7-4.4,1.9c-1.1,1.2-1.7,2.8-1.6,4.4c0,0.4,0,0.8,0,1.2c0,8.6-5.1,16.4-13,19.9   c-1.6,0.7-2.8,2-3.3,3.6c-0.5,1.6-0.4,3.4,0.5,4.9c1.9,3.3,2.9,7,2.9,10.8c0,11.9-9.7,21.6-21.6,21.6c-3.5,0-6.8-0.8-9.9-2.4   c-1.7-0.9-3.8-0.9-5.5,0c-1.7,0.9-2.9,2.6-3.2,4.5c-1.4,10.7-10.6,18.8-21.4,18.8c-0.8,0-1.6-0.1-2.5-0.1c-1.7-0.2-3.4,0.3-4.7,1.5   c-1.3,1.1-2,2.8-2,4.5v163.1c0,33.6,27.3,60.9,60.9,60.9h1.6v86.2c0,12.2,10,22.2,22.2,22.2s22.2-10,22.2-22.2v-86.2h1.6   c33.6,0,60.9-27.3,60.9-60.9V103.2C340.7,69.6,313.3,42.3,279.8,42.3z M266.2,447.5c0,5.6-4.6,10.2-10.2,10.2   c-5.6,0-10.2-4.6-10.2-10.2v-86.2h20.4V447.5z M328.7,300.4c0,27-21.9,48.9-48.9,48.9h-47.5c-27,0-48.9-21.9-48.9-48.9v-157   c13.1-1.1,24.3-9.8,28.8-21.9c2.8,0.7,5.6,1.1,8.5,1.1c18.5,0,33.6-15.1,33.6-33.6c0-3.8-0.7-7.6-1.9-11.2   c8-5.3,13.3-13.9,14.6-23.4h12.9c27,0,48.9,21.9,48.9,48.9V300.4z"/><g><path class="ei3" d="M314.6,111.4c-3.3,0-6-2.7-6-6c0-17.7-14.4-32.2-32.2-32.2c-3.3,0-6-2.7-6-6s2.7-6,6-6    c24.4,0,44.2,19.8,44.2,44.2C320.6,108.8,317.9,111.4,314.6,111.4z"/></g></g></svg>
  </figure>
  <article>
    <h1>Eat it up!</h1>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac nunc eget libero gravida vestibulum id eu turpis. Phasellus convallis justo vel tempus lacinia. Sed euismod ligula eu maximus accumsan. Mauris nibh sem, interdum vel lectus ut, vehicula
      convallis augue. Praesent leo ligula, vulputate at diam ac, egestas pharetra turpis. Morbi eleifend a enim et consectetur. Sed ligula justo, fermentum gravida luctus id, elementum quis felis. Vivamus vel ipsum ut leo semper gravida vitae a orci.
      Vestibulum luctus aliquam ultrices.
    </p>
    <p>
      Quisque eget mi sit amet ex tincidunt convallis. In neque magna, placerat vitae turpis sed, tincidunt suscipit felis. Phasellus non ligula consequat, auctor massa nec, aliquam magna. Aenean vestibulum molestie magna euismod consectetur. Class aptent taciti
      sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec fringilla elementum libero egestas facilisis. In elementum tempus sem nec dictum. Phasellus quis erat vehicula, auctor lorem at, tincidunt nisi. Fusce varius fermentum
      purus, ornare consectetur metus tempus at. Donec vel facilisis orci, sed fringilla dolor. Sed vitae congue ante, eget facilisis tellus. Pellentesque interdum dictum orci, pulvinar dictum magna luctus in.
    </p>
    <p>
      Phasellus molestie hendrerit enim. Nam posuere nisl quis odio ornare porta. Maecenas sit amet semper arcu. Phasellus blandit mauris ac leo iaculis, in mattis augue faucibus. Praesent eleifend tempor erat vel consequat. Morbi sit amet dolor diam. Praesent
      accumsan efficitur felis a molestie. Integer bibendum risus vitae augue molestie laoreet. Vestibulum dapibus ipsum eget est imperdiet, in lacinia ligula varius. Vestibulum molestie sapien felis, eu eleifend erat finibus eget. Fusce a ultrices sem.
      Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In sollicitudin eros eu rutrum egestas.
    </p>
    <p>
      Morbi gravida vitae lectus nec cursus. Maecenas metus sem, tincidunt id venenatis eget, condimentum in lacus. Suspendisse aliquet vel velit id aliquam. Morbi aliquet neque sed dignissim mollis. Nunc sapien arcu, vestibulum nec erat eget, faucibus convallis
      est. Sed ullamcorper ornare erat, convallis convallis turpis accumsan eu. Aenean libero est, imperdiet nec efficitur vel, placerat ac ipsum.
    </p>
    <p>
      Nam a augue vel augue sagittis lacinia. Etiam laoreet sodales nisi, quis laoreet est vulputate vitae. Pellentesque consectetur a diam nec lacinia. Praesent sit amet lacus in eros egestas aliquam et ac lectus. Suspendisse convallis, erat quis aliquam maximus,
      dolor massa vehicula felis, sit amet tempor risus magna at dolor. Nunc sed lectus vel risus posuere imperdiet. Donec cursus commodo nisi at ullamcorper. Aenean rhoncus libero augue, eu faucibus enim commodo gravida. Mauris laoreet, ligula fermentum
      pharetra tincidunt, arcu massa elementum tortor, a sollicitudin lorem felis in lorem. Maecenas nulla elit, fringilla a metus ut, malesuada placerat tortor. Suspendisse maximus nunc metus, vel dapibus sem pellentesque ac. Nam neque ipsum, accumsan
      nec nisl sed, eleifend viverra ipsum.
    </p>
  </article>
</section>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

body {
  height: 100%;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #ffe57f;
}

section {
  display: grid;
  grid-template-columns: 30% auto;
}

svg {
  max-width: 250px;
  position: sticky;
  position: -webkit-sticky;
  top: 20px;
  opacity: 0;
}

figure {
  background: #ffd740;
  margin: 0;
  text-align: center;
}

article {
  padding: 2em;
}

h1 {
  font-size: 3em;
}

p {
  line-height: 2em;
}

.roll-in-left {
	-webkit-animation: roll-in-left 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: roll-in-left 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.exit {
  -webkit-transform: translateX(-800px) rotate(-540deg);
            transform: translateX(-800px) rotate(-540deg);
    opacity: 0;
  }
}

/* ----------------------------------------------
 * Generated by Animista on 2018-6-26 10:30:21
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation roll-in-left
 * ----------------------------------------
 */
@-webkit-keyframes roll-in-left {
  0% {
    -webkit-transform: translateX(-800px) rotate(-540deg);
            transform: translateX(-800px) rotate(-540deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) rotate(0deg);
            transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}
@keyframes roll-in-left {
  0% {
    -webkit-transform: translateX(-800px) rotate(-540deg);
            transform: translateX(-800px) rotate(-540deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) rotate(0deg);
            transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

              
            
!

JS

              
                /*
* enter-view.js is library
*/

(function(factory) {
  if (typeof define === 'function' && define.amd) {
    define(factory);
  } else if (typeof module !== 'undefined' && module.exports) {
    module.exports = factory();
  } else {
    window.enterView = factory.call(this);
  }
})(() => {
  const lib = ({ selector, enter, exit, offset = 0, once = false }) => {
    let raf = null;
    let ticking = false;
    let elements = [];
    let height = 0;

    function setupRaf() {
      raf =
        window.requestAnimationFrame ||
        window.webkitRequestAnimationFrame ||
        window.mozRequestAnimationFrame ||
        window.msRequestAnimationFrame ||
        function(callback) {
          return setTimeout(callback, 1000 / 60);
        };
    }

    function getOffsetHeight() {
      if (offset && typeof offset === 'number') {
        const fraction = Math.min(Math.max(0, offset), 1);
        return height - fraction * height;
      }
      return height;
    }

    function updateHeight() {
      const cH = document.documentElement.clientHeight;
      const wH = window.innerHeight || 0;
      height = Math.max(cH, wH);
    }

    function updateScroll() {
      ticking = false;
      const targetFromTop = getOffsetHeight();

      elements = elements.filter(el => {
        const rect = el.getBoundingClientRect();
        const top = rect.top;
        const entered = top < targetFromTop;
        if (entered && !el.__enter_view) {
          enter(el);
          if (once) return false;
        } else if (!entered && el.__enter_view && exit) exit(el);

        el.__enter_view = entered;
        return true;
      });

      if (!elements.length) {
        window.removeEventListener('scroll', onScroll, true);
      }
    }

    function onScroll() {
      if (!ticking) {
        ticking = true;
        raf(updateScroll);
      }
    }

    function onResize() {
      updateHeight();
      updateScroll();
    }

    function selectionToArray(selection) {
      const len = selection.length;
      const result = [];
      for (let i = 0; i < len; i += 1) {
        result.push(selection[i]);
      }
      return result;
    }

    function selectAll(selector, parent = document) {
      if (typeof selector === 'string') {
        return selectionToArray(parent.querySelectorAll(selector));
      } else if (selector instanceof NodeList) {
        return selectionToArray(selector);
      } else if (selector instanceof Array) {
        return selector;
      }
    }

    function setupElements() {
      elements = selectAll(selector);
    }

    function setupEvents() {
      window.addEventListener('resize', onResize, true);
      window.addEventListener('scroll', onScroll, true);
      onResize();
    }

    function init() {
      const valid = selector && enter;
      if (!valid) console.error('must set selector and enter options');
      setupRaf();
      setupElements();
      setupEvents();
      updateScroll();
    }

    init();
  };

  return lib;
});


// enter animation

enterView({
	selector: 'svg',
	enter: function(el) {
		el.classList.add('roll-in-left');
	},
  exit: function(el) {
		el.classList.remove('roll-in-left');
	},
	offset: 0.2
});
              
            
!
999px

Console