css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <script type="text/javascript">
var string1 = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad adipisci architecto atque corporis cupiditate delectus dolore est et facilis itaque, iusto possimus quibusdam repellat, repellendus saepe sunt tenetur voluptate. Aliquid blanditiis, commodi dolorem dolorum eveniet exercitationem illo magnam minima, minus molestias nesciunt nisi officia vero voluptate voluptatem. A ab accusantium amet aperiam culpa cum cumque dolores ex illo, voluptatibus? Accusantium atque ea excepturi harum iure quia voluptas. Accusantium aut fugiat maiores modi quibusdam quidem rem sunt voluptate? Natus, repellendus temporibus! Corporis dignissimos earum id illo laborum obcaecati perspiciatis provident quod, temporibus voluptate. Commodi, dignissimos doloribus ea eum fugit, id illo minus, natus non reiciendis similique suscipit veritatis voluptatem. Fugiat nulla, provident. Aliquid animi, aperiam assumenda at culpa deserunt dignissimos ducimus error explicabo harum, illum iusto libero maiores minima modi nihil nulla odio, placeat possimus quod sint sunt tempore! Aspernatur, natus?';

var string2 = 'Ipsam magnam nisi velit! Aspernatur delectus distinctio doloribus eveniet fuga mollitia non ut voluptate. A, ad animi aspernatur at culpa dolorem eius eos est et fuga fugit harum inventore ipsam ipsum itaque laboriosam laudantium, minima nemo nihil odio, omnis pariatur provident quas quia repellendus soluta vero voluptas voluptatem voluptates voluptatibus! Alias aut delectus ratione repellendus soluta? Consectetur cum cumque eius impedit iure. Delectus, eius, ratione. Accusamus amet asperiores assumenda at commodi cumque dignissimos doloremque doloribus explicabo hic illo inventore ipsam iusto labore laborum minima molestiae mollitia nihil nobis nostrum pariatur perferendis porro, possimus praesentium quaerat quasi recusandae reiciendis saepe sapiente soluta tempore temporibus totam vel voluptas voluptate voluptatem voluptates. Ab accusamus aliquid architecto, autem, delectus dolor in itaque laudantium non officiis omnis placeat quidem quis quos sapiente sequi sint vero vitae! Delectus eius iure placeat quisquam ratione sit soluta temporibus!';

var string3 = 'Accusantium asperiores beatae commodi consectetur delectus dicta dolor dolorem et fuga id iusto laboriosam maxime minus nam nobis, porro possimus provident quia reprehenderit sint sit temporibus unde voluptas. Adipisci architecto autem cumque dolore doloribus fugit impedit minima non unde. Adipisci aliquam architecto at blanditiis dicta doloremque eveniet exercitationem expedita facere illum impedit incidunt ipsam itaque magni molestiae necessitatibus nesciunt officia pariatur perspiciatis placeat, qui quibusdam quisquam quo quod quos saepe sapiente sequi sint, tempore tenetur totam voluptas voluptates voluptatibus. Dignissimos excepturi expedita explicabo hic ipsa laudantium, maxime nam necessitatibus nemo odit quas qui rem soluta. Aperiam beatae consequuntur debitis dolores enim facilis in minima minus molestias natus nulla odio, omnis repellat unde vero. Beatae consequuntur cum deserunt distinctio dolores eaque eligendi expedita ipsa iste modi pariatur quasi quos sint, totam ullam velit voluptas voluptate voluptatibus. Asperiores eaque fugit illum non!';

var string4 = 'A aliquid assumenda aut consequatur delectus deleniti doloremque dolores earum fuga fugiat hic id illo iste laborum molestiae nihil nisi odit pariatur praesentium quia quisquam rem, sint soluta vel veritatis voluptate voluptates? Consequatur cum dignissimos, distinctio doloremque et facere fuga, minima mollitia natus nostrum nulla quam quas quasi quos, repellendus saepe totam? Accusamus aliquam atque cupiditate delectus dignissimos dolor dolorem doloribus ea exercitationem expedita id ipsum nesciunt, nostrum porro quas qui quos reiciendis reprehenderit velit, vero voluptas voluptates voluptatum! A accusamus cupiditate dolore, doloremque iure labore, nihil recusandae repudiandae sapiente sed similique temporibus totam vel voluptas voluptates. Accusantium amet blanditiis consequuntur dolorum ea enim explicabo facere id, in ipsum iste labore laboriosam modi nobis possimus praesentium ratione sint veritatis! Alias aliquam aspernatur at consequuntur cum dolore ducimus id ipsam maiores nulla numquam, officiis quaerat quibusdam ratione sit temporibus velit voluptate?';
</script>


<div class="contain-demo">
    <svg viewBox="0 0 1000 800" xmlns="http://www.w3.org/2000/svg">
        <defs>
            <path id="path1" fill="none" stroke-miterlimit="10" d="M892.6,48.3c-31.5-5.1-63.2-7.7-95-9.8c-32.7-2.2-65.5-4.3-98.3-5.8c-65.6-3-131.4-3.5-196.7,2.7
			C390,46.2,276.7,79,186.3,148.9c-19.1,14.7-36.9,31.2-50.8,51c-13.8,19.6-22.8,42.2-28.6,65.2c-13,52.2-7.7,106.7-1.9,159.4
			c0.2,1.9,3.2,1.9,3"/>

            <path id="path2" fill="none" stroke-miterlimit="10" d="M115.8,473.7c15.7,23.1,34.9,44.1,54.4,64.1c18.8,19.1,38.8,36.9,59.9,53.5c41.7,32.9,87.6,60.5,136.1,82.3 c50,22.5,102.8,38.1,156.9,47.1c31.6,5.3,63.5,8.6,95.4,11.3c32.4,2.8,64.8,5.4,97.4,5.8c78.4,0.9,163.5-15.1,219.2-75"/>

            <path id="path3" fill="none" stroke-miterlimit="10" d="M741.8,694.1c53.7,1.9,116.4,2.3,154.7-42.1c17.5-20.3,22.9-47.2,19.8-73.3c-3.3-27.9-16.7-53.3-32.5-76
			c-30.2-43.5-68.2-84.7-113.9-112.1c-24.4-14.6-50.9-23.6-78.8-28.8c-31.6-5.8-63.8-9.3-95.8-13c-32.8-3.8-65.7-7-98.7-9.6
			c-31.7-2.5-63.7-3.9-95.3,1.1c-50.1,7.9-100.3,36.6-115.1,87.9c-6.8,23.6-4.1,49.2,9.1,70.1c14.3,22.6,38.4,38.4,60.5,52.4
			c47.3,30.1,100.2,50.7,154.2,65.2c54.9,14.8,111.5,23.4,168,29.3c29.9,3.2,60.6,4.6,89.7-4.3c23.3-7.1,48.2-22.5,57.8-45.9
			c9.7-23.6-1.9-46.6-16.6-65.1c-15.3-19.2-34.2-35.9-54.1-50.1c-39.5-28.3-86.2-46.4-134.4-52.3c-1.9-0.2-1.9,2.8,0"/>

            <path id="path4" fill="none" stroke-miterlimit="10" d="M608.1,462.6c28.3,6.3,56.4,18,73.9,42.1c8,11.1,12.9,24.3,13.2,37.9c0.4,13.2-5.4,27.9-18.3,33.2
			c-6.4,2.6-13.9,2.5-20.8,2.8c-6.9,0.3-13.8,0.4-20.7,0.3c-13.2-0.2-26.5-1.1-39.6-2.8c-26.7-3.3-53-9.8-78.3-18.9
			c-50.7-18.1-97.2-47.7-135.1-85.9c-4.7-4.8-9.6-9.6-12.9-15.6c-4.4-7.9-1.7-16.5,2.9-23.5c7.7-11.6,21.6-19.3,34-24.8
			c26.3-11.6,56.4-13.8,84.7-16.2c62.7-5.4,126.9-3.6,187.2,15.9c30.3,9.8,59,23.8,87.5,37.8c26.5,12.9,52.2,26.4,69.5,51.1
			c16.6,23.7,26,54.4,25.5,83.3c-0.5,28.8-14.9,53.7-37.8,70.6c-49.5,36.5-117.4,26.7-174.6,22.1c-32.3-2.6-64.5-5.8-96.6-9.6
			c-32.4-3.8-64.9-7.7-97-13.5c-57.8-10.4-112.1-33.2-158.8-69.1c-1.5-1.2-3,1.4-1.5"/>

            <path id="path5" fill="none" stroke-miterlimit="10" d="M242.6,503.1c-16.6-24.6-32-50.2-42.3-78.1c-10.3-28.1-13.7-57.8-8.5-87.4c5.1-29,17.6-56.2,32.2-81.5
			c14.7-25.5,31.2-51,51-72.9c40.5-44.8,100.6-60.3,158.9-64.4c32.3-2.3,64.7-1.4,97.1-1.6c30.7-0.2,61.4-1.2,92.1-1.6
			c61.3-0.8,123.2,0.9,182.9,15.9c27.8,7,56.9,16.2,80.3,33.2c24.8,18,36.6,47.4,47.9,74.8c20.1,48.5,35.3,99,45.7,150.4
			c0.4,1.9,3.3,1.1"/>

            <path id="path6" fill="none" stroke-miterlimit="10" d="M938.6,393.2c-8.5-29.2-20.2-57.3-35.1-83.8c-13.7-24.4-30.9-46-54.4-61.4c-24.5-16.1-53-27.1-80.6-36.5
			c-29.1-9.9-59.2-17-89.6-21.5c-62.1-9.1-125.6-5.1-187.7,2.3c-57.7,6.8-115.9,19.6-167.4,47.4c-44.5,24-85.9,63.7-92.8,116
			c-0.1,0.8,0.8,1.6,1.5,1.5c46.9-5.2,82.2-39.4,118.5-66.1c20.2-14.8,41.5-27.7,65.9-34.1c15.6-4.1,31.7-5.6,47.7-6.7
			c14.3-1,28.7-2,43.1-1.7c19,0.3,38,3.6,54.4,13.6c1.7,1,3.2-1.6"/>

            <path id="path7" fill="none" stroke-miterlimit="10" d="M442.1,304.2c127,0.4,254.6,21.6,374.3,64.2c28,10,55.3,22.4,78.9,40.9c20.4,16,37.6,36,50.9,58.3
			c30.9,51.6,35.2,113.2,23.6,171.3c-5.6,27.7-15.7,55-33.5,77.2c-17.4,21.8-42.1,36.5-68.1,45.7c-29,10.3-60,13-90.5,13.1
			c-31.7,0.1-63.5-2.3-95.1-4.7c-125.3-9.2-250.3-28-371.3-62.4c-30.1-8.5-59.8-18.1-89.2-28.7c-26.3-9.4-52.6-19.3-77.4-32.2
			c-22.7-11.8-44-26.7-60.3-46.6c-18.6-22.7-27-51.2-29.3-80c-3.7-46.5,8.6-92.3,12.9-138.3c0.2-1.9-2.8-1.9-3"/>

        </defs>
      
      
        <text fill="#765373" text-anchor="end" dy="6">
            <textPath id="" xlink:href="#path1">
                <script>document.write(string1);</script>

                <animate attributeName="startOffset" values="0;.5;1" dur="30s" repeatCount="indefinite" keyTimes="0;.5;1" />
            </textPath>
        </text>

        <text fill="#765373" text-anchor="end" dy="6">
            <textPath id="" xlink:href="#path2">
                <script>document.write(string2);</script>

                <animate attributeName="startOffset" values="0;.5;1" dur="30s" repeatCount="indefinite" keyTimes="0;.5;1" />
            </textPath>
        </text>

        <text fill="#765373" text-anchor="end" dy="6">
            <textPath id="" xlink:href="#path3">
                <script>document.write(string3);</script>

                <animate attributeName="startOffset" values="0;.5;1" dur="30s" repeatCount="indefinite" keyTimes="0;.5;1" />
            </textPath>
        </text>

        <text fill="#765373" text-anchor="end" dy="6">
            <textPath id="" xlink:href="#path4">
                <script>document.write(string4);</script>

                <animate attributeName="startOffset" values="0;.5;1" dur="30s" repeatCount="indefinite" keyTimes="0;.5;1" />
            </textPath>
        </text>
      
      <text fill="#765373" text-anchor="end" dy="6">
            <textPath id="" xlink:href="#path5">
                <script>document.write(string1);</script>

                <animate attributeName="startOffset" values="0;.5;1" dur="30s" repeatCount="indefinite" keyTimes="0;.5;1" />
            </textPath>
        </text>
      
      <text fill="#765373" text-anchor="end" dy="6">
            <textPath id="" xlink:href="#path6">
                <script>document.write(string2);</script>

                <animate attributeName="startOffset" values="0;.5;1" dur="30s" repeatCount="indefinite" keyTimes="0;.5;1" />
            </textPath>
        </text>
      
      <text fill="#765373" text-anchor="end" dy="6">
            <textPath id="" xlink:href="#path7">
                <script>document.write(string3);</script>

                <animate attributeName="startOffset" values="0;.5;1" dur="30s" repeatCount="indefinite" keyTimes="0;.5;1" />
            </textPath>
        </text>


    </svg>
</div>
            
          
!
            
              svg text {
  font-size:5px;
  font-family:sans-serif;
  fill:#765373
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console