cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

              <!--?xml version="1.0" standalone="no"?-->
<svg width="800" height="250" version="1.1" xmlns="http://www.w3.org/2000/svg">
    <circle cx="80" cy="50" r="40" stroke="green" fill="#C3413D" stroke-width="5">
        <set attributeName="cy" attributeType="XML" to="160" begin="3s"></set>
    <circle cx="200" cy="50" r="40" stroke="#FFC302" fill="#635147" stroke-width="5">
        <animate attributeName="cy" from="160" to="60" begin="0s" dur="2s" repeatCount="indefinite"></animate>
    <circle cx="320" cy="50" r="40" stroke="#C3413D" fill="#FFF2C8" stroke-width="5">
        <animateTransform attributeName="transform" begin="0s" dur="3s" type="scale" from="1" to="1.6" repeatCount="indefinite"></animateTransform>
  <g transform="translate(500,60)">
    <path d="M10,110 A120,120 -45 0,1 110 10 A120,120 -45 0,1 10,110" stroke="#9B7B56" stroke-width="2" fill="none" id="theMotionPath" ></path>
    <circle  r="5" fill="#FFC302">
        <animateMotion dur="6s" repeatCount="indefinite">
            <mpath xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#theMotionPath"></mpath>
Loading ..................