cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-personicon-teamoctocatpop-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.

            
              <div class="signature-canvas">
  <svg class="filler-img" width="200" viewBox="0 0 706.88611 308.12488">
    <defs id="defs3476" />
    <g style="mask: url(#easyMask);">
      <path style="fill:black;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 5.8738682,278.98838 C -0.04856179,212.1793 11.525428,128.9896 11.035158,53.806427 c -0.0555,-8.51551 3.60495,-36.62769 11.75526,-39.0954 4.19805,-1.27107 17.0815,-0.20162 19.21248,3.63219 3.57071,6.424 -4.5873,22.74825 -4.5873,22.74825 34.16737,68.440493 78.670822,174.780923 177.490532,214.671103 -3.56274,0.71255 -16.07469,-150.56299 -41.29032,-198.709673 -2.79367,-5.33422 -13.57773,4.01587 -18.06452,0 -5.80423,-5.19504 -7.27924,-17.01286 -2.58064,-23.22581 6.31237,-8.34683 21.17346,-8.84743 30.96774,-5.16129 11.44241,4.30642 19.6569,16.69365 23.2258,28.3871 20.99964,68.804963 29.96264,151.830823 43.87097,216.774183 1.8014,8.41143 -9.90379,15.34429 -18.06451,18.06453 -8.16072,2.72024 -25.80646,0 -25.80646,0 C 141.67916,258.82663 87.605468,195.32862 31.680318,108.6658 c -6.26659,1.43135 9.34444,149.74189 5.16129,180.64516 -1.45957,10.78262 -30.0069398,0.51587 -30.9677398,-10.32258 z"
      />
    </g>
  </svg>

  <svg class="path filler-mask" width="200" viewBox="0 0 706.88611 308.12488">
    <mask id="easyMask">
      <path class="path" style="fill:none;stroke:#ffffff;stroke-width:25;stroke-linecap:round" d="m 18.849977,287.97931 8.41235,-268.143733 17.876253,84.123523 66.24727,91.48433 69.40191,64.14419 58.88647,30.49478 -41.01023,-218.721163 -13.67007,-32.59787 -30.49478,2.10309 0,0 1.05155,1.05155"
      id="path4141" inkscape:connector-curvature="0" />
    </mask>
  </svg>
</div>
            
          
!
            
              .signature-canvas {
  position: absolute;
}

.filler-mask {
  position: absolute;
  height: 150px;
  z-index: 900;
}

.filler-img {
  position: absolute;
  height:150px;
  z-index: 50;
}

.path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 1s linear forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 000;
  }
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console