Pen Settings

HTML

CSS

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

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

              
                <div>
  <svg version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="width: 256px; height: 256px; opacity: 1;" xml:space="preserve">
  <g>
    <path class="st0" d="M90.937,57.451c-10.741,5.325-19.643,13.968-25.869,24.602c-6.227,10.635-9.799,23.302-9.803,36.834
      c0,5.136,4.169,9.308,9.314,9.308c5.14,0,9.305-4.173,9.305-9.308c0-10.231,2.712-19.672,7.251-27.426
      c4.54-7.754,10.886-13.77,18.063-17.326c4.605-2.28,6.494-7.869,4.214-12.47C101.127,57.048,95.542,55.171,90.937,57.451z"></path>
    <path class="st1" d="M165.475,9.737C152.104,3.482,137.309,0,121.831,0c-15.474,0-30.269,3.482-43.644,9.737
      C58.117,19.12,41.23,34.693,29.362,54.101c-11.869,19.425-18.746,42.743-18.746,67.732c0,26.956,8,51.961,21.639,72.234
      c12.227,18.165,29.03,32.562,48.706,41.08v66.695h-1.185c-5.597,0-10.133,4.535-10.133,10.132V448.49v0.041
      c0,28.824,23.368,52.184,52.188,52.184c28.821,0,52.188-23.359,52.188-52.184V311.973c0-5.596-4.535-10.132-10.128-10.132h-1.19
      v-66.695c19.676-8.518,36.484-22.915,48.707-41.08c13.638-20.273,21.638-45.278,21.638-72.234
      c-0.004-33.327-12.214-63.658-32.215-85.774C190.827,25.005,178.854,15.992,165.475,9.737z M121.831,454.935
      c-7.618,0-13.791-6.173-13.791-13.786c0-7.622,6.173-13.795,13.791-13.795s13.791,6.173,13.791,13.795
      C135.622,448.762,129.449,454.935,121.831,454.935z M121.831,358.395c-7.618,0-13.791-6.181-13.791-13.795
      c0-7.622,6.173-13.795,13.791-13.795s13.791,6.173,13.791,13.795C135.622,352.214,129.449,358.395,121.831,358.395z
       M194.242,182.519c-11.338,16.848-27.187,29.482-45.307,35.837l-6.922,2.42v81.066h-40.364v-81.066l-6.922-2.42
      c-18.12-6.354-33.969-18.988-45.307-35.837c-11.338-16.849-18.116-37.829-18.116-60.686C31.3,93.584,41.671,68.176,58.174,49.936
      c8.252-9.12,18.017-16.428,28.775-21.458c10.762-5.029,22.503-7.786,34.882-7.795c12.38,0.008,24.12,2.766,34.882,7.795
      c16.133,7.531,30.05,20.24,39.936,36.413c9.885,16.173,15.708,35.755,15.708,56.941C212.358,144.69,205.58,165.67,194.242,182.519z
      " ></path>
    <path class="st2" d="M490.651,17.325c-6.601-6.617-15.836-10.748-25.935-10.741c-10.1-0.008-19.335,4.124-25.936,10.741
      c-6.618,6.61-10.75,15.837-10.733,25.936v109.084c-0.017,4.321-0.88,7.736-2.231,10.61c-1.012,2.148-2.329,4.008-3.86,5.629
      c-1.53,1.63-3.325,2.98-5.202,4.083V43.261c0.009-10.099-4.115-19.326-10.732-25.936c-6.61-6.617-15.845-10.748-25.94-10.741
      c-10.091-0.008-19.326,4.124-25.931,10.741c-6.622,6.61-10.746,15.837-10.741,25.936v129.422c-2.49-1.466-4.828-3.416-6.655-5.803
      c-1.379-1.786-2.51-3.819-3.321-6.19c-0.811-2.37-1.309-5.103-1.309-8.346V43.261c0.004-10.099-4.12-19.326-10.741-25.936
      c-6.605-6.617-15.84-10.748-25.932-10.741c-10.095-0.008-19.33,4.124-25.935,10.741c-6.618,6.61-10.746,15.837-10.741,25.936
      v115.347c-0.004,14.116,2.646,26.808,7.329,37.903c3.51,8.321,8.14,15.738,13.523,22.256c8.083,9.787,17.828,17.549,28.142,23.648
      c9.576,5.654,19.651,9.877,29.528,12.972V313.2c-5.247,0.379-9.4,4.708-9.4,10.05v136.526l-0.004,0.04
      c0,28.825,23.367,52.184,52.187,52.184c28.821,0,52.188-23.359,52.188-52.184V323.25c0-5.342-4.156-9.671-9.408-10.05v-57.805
      c8.7-2.732,17.548-6.329,26.076-11.012c13.902-7.639,27.021-18.182,36.71-32.43c4.856-7.12,8.807-15.152,11.523-24.058
      c2.733-8.915,4.214-18.692,4.214-29.286V43.261C501.401,33.162,497.269,23.935,490.651,17.325z M380.082,466.22
      c-7.618,0-13.791-6.173-13.791-13.795c0-7.613,6.173-13.786,13.791-13.786c7.618,0,13.791,6.173,13.791,13.786
      C393.873,460.046,387.7,466.22,380.082,466.22z M380.082,369.672c-7.618,0-13.791-6.173-13.791-13.786
      c0-7.622,6.173-13.795,13.791-13.795c7.618,0,13.791,6.173,13.791,13.795C393.873,363.498,387.7,369.672,380.082,369.672z
       M480.7,158.608c-0.008,11.556-2.123,21.359-5.704,29.87c-2.692,6.37-6.223,12.033-10.412,17.12
      c-6.28,7.614-14.099,13.918-22.709,19.005c-8.61,5.087-17.984,8.931-27.195,11.663c-0.049,0.017-0.23,0.066-0.469,0.132
      c-0.486,0.14-1.177,0.346-2,0.642c-0.626,0.23-1.333,0.502-2.116,0.881c-1.177,0.592-2.576,1.325-4.222,2.93
      c-0.823,0.814-1.712,1.885-2.444,3.35c-0.732,1.465-1.259,3.366-1.243,5.309c0,2.824,0,4.379,0,4.379v59.237h-44.199v-59.237
      c0,0,0-1.555,0-4.379c0.012-2.041-0.568-4.024-1.359-5.514c-0.691-1.317-1.493-2.297-2.247-3.062
      c-1.329-1.325-2.51-2.041-3.526-2.609c-1.523-0.823-2.762-1.251-3.737-1.572c-0.49-0.156-0.905-0.28-1.218-0.37l-0.366-0.098
      l-0.049-0.017c-8.186-2.42-16.507-5.737-24.294-10.017c-11.7-6.428-22.128-14.972-29.573-25.935
      c-3.729-5.482-6.742-11.589-8.849-18.47c-2.098-6.889-3.3-14.568-3.304-23.236V43.261c0.008-4.453,1.773-8.379,4.683-11.301
      c2.926-2.914,6.856-4.675,11.305-4.684c4.449,0.008,8.38,1.77,11.302,4.684c2.91,2.922,4.679,6.848,4.683,11.301v109.084
      c-0.008,7.202,1.535,13.795,4.202,19.432c1.996,4.24,4.604,7.927,7.551,11.038c4.432,4.667,9.597,8.05,14.861,10.305
      c5.276,2.255,10.651,3.424,15.89,3.44h11.239l-0.93-11.202c-0.107-1.259-0.156-2.321-0.152-2.931V43.261
      c0.004-4.453,1.773-8.379,4.678-11.301c2.926-2.914,6.856-4.675,11.305-4.684c4.449,0.008,8.379,1.77,11.306,4.684
      c2.91,2.922,4.674,6.848,4.683,11.301v139.167c0,0.61-0.049,1.672-0.156,2.931l-0.922,11.202h11.227
      c4.667-0.017,9.424-0.946,14.141-2.725c7.028-2.675,14.033-7.334,19.441-14.33c2.691-3.489,4.946-7.556,6.511-12.132
      c1.564-4.568,2.42-9.63,2.42-15.03V43.261c0.008-4.453,1.769-8.379,4.683-11.301c2.922-2.914,6.848-4.675,11.302-4.684
      c4.453,0.008,8.379,1.77,11.301,4.684c2.914,2.922,4.675,6.848,4.683,11.301V158.608z"></path>
  </g>
 </svg>
</div>
              
            
!

CSS

              
                div{
  height:150px;
}
svg{
  height:100%!important;
}
.st0,.st1,.st2{
  fill:#4b4b4b;
  stroke:gray;
  stroke-dasharray: 2000px;
  stroke-width: 1px;
  animation: svg 5s ease-in 1s infinite;
}
@keyframes svg{
  0%{
    stroke-dashoffset: 0;
    fill:transparent;
  }
  40%{
    stroke-dashoffset: 2000px;
    fill:transparent;
  }
  80%{
    fill:transparent;
  }
  100%{
    fill:#4b4b4b;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console