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.

            
              <!--question asked based on this gist https://gist.github.com/LasseRafn/8b2bbcd5bdfdf4f22f179c9650810164 -->

<!-- you don't need this part-- 
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0" height="0" style="display:none">
  <!--made width and height zero and display none so that it won't interfere with the layout-->
	<defs>
    <!--put this in defs-->
    <symbol id="icon-hamburger" viewBox="0 0 24 14">
      <!-- change the fill here to currentColor-->
    <g fill="currentColor" fill-rule="evenodd"> 
      <path d="M0 0h24v2H0zM0 6h24v2H0zM6 12h18v2H6z"/>
    </g>
  </symbol>
  </defs>
</svg>


<!-- Put a class on the 'use' part so we can access it -->
<svg class="icon" width="24" height="14" alt="Menu">
  <use class="icon-use" xlink:href="#icon-hamburger"></use>
</svg>
            
          
!
            
              .icon-use {
  //now you can use color, just like you would with a font (because it's an icon)
  color: red;
}

//just throwing this in here so you can see it better
.icon {
  margin: 40px;
}
            
          
!
999px
Loading ..................

Console