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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

            
              <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="500px" height="500px" viewBox="0 0 500 500" style="enable-background:new 0 0 500 500;" xml:space="preserve">
  <g id="logo-text-html" fill="#555" stroke="#555" stroke-width="1">
      <path d="M133,11.891h18.461v18.238h16.887V11.891h18.465v55.234h-18.465V48.628h-16.887v18.496H133V11.891L133,11.891z M133,11.891"></path>
      <path d="M211.09,30.207h-16.254V11.891h50.976v18.316h-16.261v36.918H211.09V30.207L211.09,30.207z M211.09,30.207"></path>
      <path d="M253.902,11.891h19.25l11.844,19.406l11.828-19.406h19.258v55.234h-18.387V39.75l-12.699,19.637h-0.32L271.965,39.75 v27.375h-18.063V11.891L253.902,11.891z M253.902,11.891"></path>
      <path d="M325.27,11.891h18.469v36.977h25.961v18.257h-44.43V11.891L325.27,11.891z M325.27,11.891"></path>
  </g>
  <g id="logo-badge">
      <path class="path" fill="#E44D26" stroke="#E44D26" stroke-width="1" d="M250.914,421.492L132.41,388.594L106,92.387h290.187l-26.438,296.16L250.914,421.492z M250.914,421.492"></path>
      <path fill="#F16529" stroke="#F16529" stroke-width="3" d="M347.117,369.688l22.594-253.082H251.094v279.703L347.117,369.688z M347.117,369.688"></path>
      <path fill="#EBEBEB" stroke="#EBEBEB" stroke-width="3" d="M251.094,262.793v-36.328h-48.07l-3.32-37.203h51.391v-36.328h-0.125H160l0.867,9.746l8.93,100.113 H251.094z M251.094,262.793"></path>
      <path fill="#EBEBEB" stroke="#EBEBEB" stroke-width="3" d="M251.094,320.813l-0.16,0.043l-40.457-10.926l-2.586-28.974H188.23h-16.808l5.09,57.039 l74.414,20.661l0.168-0.047V320.813z M251.094,320.813"></path>
      <path fill="#FFFFFF" stroke="#FFFFFF" stroke-width="3" d="M335.414,226.465h-9.789h-74.656v36.328h44.734l-4.219,47.113l-40.516,10.938v37.793l74.473-20.642 l0.547-6.136l8.539-95.641L335.414,226.465z M335.414,226.465"></path>
      <path fill="#FFFFFF" stroke="#FFFFFF" stroke-width="3" d="M341.973,152.934h-91.004v22.562v13.68v0.086h87.633l0,0h0.117l0.727-8.164l1.656-18.418 L341.973,152.934z M341.973,152.934"></path>
  </g>
  <g id="logo-text-games" fill="#555" stroke="#555" stroke-width="1">
      <path d="M156.986,469.443v-8.936h20.508v18.311c-3.926,2.676-7.397,4.497-10.415,5.464s-6.597,1.45-10.737,1.45
      c-5.098,0-9.253-0.869-12.466-2.607c-3.213-1.738-5.703-4.326-7.471-7.764c-1.768-3.438-2.651-7.383-2.651-11.836
      c0-4.688,0.967-8.765,2.9-12.231s4.765-6.099,8.496-7.896c2.91-1.387,6.826-2.08,11.748-2.08c4.746,0,8.295,0.43,10.649,1.289
      c2.354,0.859,4.307,2.192,5.859,3.999s2.72,4.097,3.501,6.87l-12.803,2.285c-0.527-1.621-1.421-2.861-2.681-3.721
      s-2.867-1.289-4.819-1.289c-2.911,0-5.229,1.011-6.958,3.032s-2.593,5.22-2.593,9.595c0,4.648,0.874,7.969,2.622,9.961
      c1.748,1.992,4.185,2.988,7.31,2.988c1.484,0,2.9-0.215,4.248-0.645s2.89-1.162,4.629-2.197v-4.043H156.986z"></path>
      <path d="M211.78,477.91h-15.067l-2.093,7.09h-13.551l16.143-42.949h14.477L227.826,485h-13.897L211.78,477.91z M209.027,468.623
      l-4.741-15.439l-4.691,15.439H209.027z"></path>
      <path d="M231.898,442.051h17.454l6.731,26.133l6.683-26.133h17.443V485H269.34v-32.754L260.965,485h-9.838l-8.359-32.754V485
      h-10.869V442.051z"></path>
      <path d="M288.646,442.051h35.566v9.17h-22.266v6.826h20.654v8.76h-20.654v8.467h22.91V485h-36.211V442.051z"></path>
      <path d="M329.691,470.791L342.318,470c0.273,2.051,0.83,3.613,1.67,4.688c1.367,1.738,3.32,2.607,5.859,2.607
      c1.895,0,3.354-0.444,4.38-1.333s1.538-1.919,1.538-3.091c0-1.113-0.488-2.109-1.465-2.988s-3.242-1.709-6.797-2.49
      c-5.82-1.309-9.971-3.047-12.451-5.215c-2.5-2.168-3.75-4.932-3.75-8.291c0-2.207,0.64-4.292,1.919-6.255s3.203-3.506,5.771-4.629
      s6.089-1.685,10.562-1.685c5.488,0,9.673,1.021,12.554,3.062s4.595,5.288,5.142,9.741l-12.51,0.732
      c-0.332-1.934-1.03-3.34-2.095-4.219s-2.534-1.318-4.409-1.318c-1.543,0-2.705,0.327-3.486,0.981s-1.172,1.45-1.172,2.388
      c0,0.684,0.322,1.299,0.967,1.846c0.625,0.566,2.109,1.094,4.453,1.582c5.801,1.25,9.956,2.515,12.466,3.794
      s4.336,2.866,5.479,4.761s1.714,4.014,1.714,6.357c0,2.754-0.762,5.293-2.285,7.617s-3.652,4.087-6.387,5.288
      s-6.182,1.802-10.342,1.802c-7.305,0-12.363-1.406-15.176-4.219S330.063,475.127,329.691,470.791z"></path>
  </g>
</svg>
            
          
!

CSS

            
              @import "compass/css3";

/* -------------------------------------------------------------------------- */
/* ---------- GLOBAL STYLES ------------------------------------------------- */
/* -------------------------------------------------------------------------- */

@import "compass/reset";
@import "compass/css3";

*,
*::before,
*::after {
    @include box-sizing(border-box);
}



/* -------------------------------------------------------------------------- */
/* ---------- Keyframe Animation Mixins ------------------------------------- */
/* -------------------------------------------------------------------------- */
@mixin keyframes($name) {
    @-webkit-keyframes #{$name} {
        @content;
    }

    @-moz-keyframes #{$name} {
        @content;
    }

    @-ms-keyframes #{$name} {
        @content;
    }

    @keyframes #{$name} {
        @content;
    }
}

@mixin animate($name, $duration: 1s, $delay: 0, $timing: initial, $iterations: initial, $direction: normal, $fill: forwards) {
    /* ---------- Mozilla --------------------------------------------------- */
    -moz-animation-name: $name;
    -moz-animation-duration: $duration;
    -moz-animation-delay: $delay;
    -moz-animation-timing-function: $timing;
    -moz-animation-iteration-count: $iterations;
    -moz-animation-direction: $direction;
    -moz-animation-fill-mode: $fill;
    /* ---------- Webkit ---------------------------------------------------- */
    -webkit-animation-name: $name;
    -webkit-animation-duration: $duration;
    -webkit-animation-delay: $delay;
    -webkit-animation-timing-function: $timing;
    -webkit-animation-iteration-count: $iterations;
    -webkit-animation-direction: $direction;
    -webkit-animation-fill-mode: $fill;
    /* ---------- Opera ----------------------------------------------------- */
    -o-animation-name: $name;
    -o-animation-duration: $duration;
    -o-animation-delay: $delay;
    -o-animation-timing-function: $timing;
    -o-animation-iteration-count: $iterations;
    -o-animation-direction: $direction;
    -o-animation-fill-mode: $fill;
    /* ---------- Default --------------------------------------------------- */
    animation-name: $name;
    animation-duration: $duration;
    animation-delay: $delay;
    animation-timing-function: $timing;
    animation-iteration-count: $iterations;
    animation-direction: $direction;
    animation-fill-mode: $fill;
}
@include keyframes(svg_outline) {
    0% {
        //stroke-dashoffset: inherit from class
        fill-opacity: 0;
    }
    85%, 90% {
        stroke-dashoffset: 0;
        fill-opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        fill-opacity: 1;
    }
}


svg {
           
            #logo-badge {
                stroke-dasharray: 1132;
                stroke-dashoffset: 1132;
                @include animate(svg_outline, 2.5s, 0, linear);
                //@include animate(glow, 1s, 5s, ease-in-out, infinite, alternate);

            }
            #logo-text-html,
            #logo-text-games {
                stroke-dasharray: 350;
                stroke-dashoffset: 350;
                @include animate(svg_outline, 2.5s, 0, linear);
                //@include animate(glow, 1s, 5s, ease-in-out, infinite, alternate);

            }
        }

            
          
!

JS

            
              
            
          
!
999px

Console