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 xmlns="http://www.w3.org/2000/svg" id="svg2" version="1.1" width="900px" height="611px" viewBox="0 0 900 611">
		<defs>
<!-- 
patternUnits="objectBoundingBox"
 patternContentUnits="userSpaceOnUse"
-->			
<pattern id="p2" height="1" width="1"  x="0" y="0"
 patternUnits="objectBoundingBox"
 viewBox="-20 -10 167.8 184.4"
 preserveAspectRatio="xMidYMid meet"> 
     <rect  x="-100%" y="-100%" width="200%" height="200%" fill="yellow"/>
    <g width="1" x="0" y="0" height="1" id="foo">
   
   <path d="M63.903 139.819c-27.85 0-51.484-14.049-51.484-14.049-13.591-8.08-16.479-4.711-6.415 7.485 0 0 25.7 31.148 57.899 31.148s57.899-31.148 57.899-31.148c10.064-12.196 7.176-15.565-6.415-7.485 0 0-23.634 14.049-51.484 14.049" fill="#f05150"/><path d="M75.151 148.569h-22.496v-105.668h22.496v105.668z" fill="#f05150"/><path d="M39.906 86.818c-6.875 0-12.5-3.496-12.5-7.77 0-4.274 5.625-7.77 12.5-7.77h47.994c6.875 0 12.5 3.496 12.5 7.77 0 4.274-5.625 7.77-12.5 7.77h-47.994z" fill="#f05150"/><path d="M63.903 40.042c-6.581 0-11.918-5.335-11.918-11.918 0-6.581 5.336-11.918 11.918-11.918 6.581 0 11.918 5.336 11.918 11.918 0 6.583-5.336 11.918-11.918 11.918m0-40.042c-15.533 0-28.125 12.592-28.125 28.125s12.592 28.125 28.125 28.125 28.125-12.592 28.125-28.125-12.592-28.125-28.125-28.125" fill="#f05150"/>
  </g>
    </pattern>
</defs>
	
<rect x="0" y="0" width="300px" height="100px" fill="url(#p2)" stroke="black"/>
    
<rect x="0" y="110" width="150" height="200" fill="url(#p2)" stroke="black"/>
    
<circle cx="250" cy="200" r="70" fill="url(#p2)" stroke="black"/>
    
<polygon points="300,300, 250,390, 180,420, 100,400, 200,270" fill="url(#p2)" stroke="black"/>

</svg>
            
          
!
999px
Loading ..................

Console