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 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.

Quick-add: + add another resource

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.

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.

            
              <svg display="none" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="176" height="32" viewBox="0 0 176 32">
<defs>
<g id="icon-home">
	<path class="" d="M32 18.451l-16-12.42-16 12.42v-5.064l16-12.42 16 12.42zM28 18v12h-8v-8h-8v8h-8v-12l12-9z"></path>
</g>
<g id="icon-pacman">
	<path class="" d="M30.148 5.588c-2.934-3.42-7.288-5.588-12.148-5.588-8.837 0-16 7.163-16 16s7.163 16 16 16c4.86 0 9.213-2.167 12.148-5.588l-10.148-10.412 10.148-10.412zM22 3.769c1.232 0 2.231 0.999 2.231 2.231s-0.999 2.231-2.231 2.231-2.231-0.999-2.231-2.231c0-1.232 0.999-2.231 2.231-2.231z"></path>
</g>
<g id="icon-location">
	<path class="original-svg-pin" d="M16 0c-5.523 0-10 4.477-10 10 0 10 10 22 10 22s10-12 10-22c0-5.523-4.477-10-10-10zM16 16.125c-3.383 0-6.125-2.742-6.125-6.125s2.742-6.125 6.125-6.125 6.125 2.742 6.125 6.125-2.742 6.125-6.125 6.125zM12.125 10c0-2.14 1.735-3.875 3.875-3.875s3.875 1.735 3.875 3.875c0 2.14-1.735 3.875-3.875 3.875s-3.875-1.735-3.875-3.875z"></path>
</g>
<g id="icon-menu">
	<path class="" d="M2 6h28v6h-28zM2 14h28v6h-28zM2 22h28v6h-28z"></path>
</g>
</defs></svg>

<div>
	<svg class="icon icon-home" viewBox="0 0 32 32" width="32" height="32">
    <use xlink:href="#icon-home"></use>
  </svg>
icon-home</div>
<div>
	<svg class="icon icon-pacman" viewBox="0 0 32 32" width="32" height="32">
    <use xlink:href="#icon-pacman"></use>
  </svg>
icon-pacman</div>
<div>
	<svg class="icon icon-location" viewBox="0 0 32 32" width="32" height="32">
    <use xlink:href="#icon-location"></use>
  </svg>
icon-location</div>
<div>
	<svg class="icon icon-menu" viewBox="0 0 32 32" width="32" height="32">
    <use xlink:href="#icon-menu"></use>
  </svg>
icon-menu</div>

<p>Icons by <a href="https://icomoon.io">icomoon.io</a></p>
            
          
!
            
              svg { 
  polygon, 
  path, 
  rect { 
    fill: inherit; 
  } 
}

[class*="icon"] { 
  fill: red; 
}

.icon-menu { 
  fill: green; 
}

.original-svg-pin {
  fill: blue;
}


/* demo */
svg {
  vertical-align: middle;
  margin: 1em;
}
            
          
!
999px
Loading ..................

Console