cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

              <?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="avatar-ryan" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
	 y="0px" viewBox="0 0 60 220" enable-background="new 0 0 60 220" xml:space="preserve">
<polygon id="body_1_" fill="#CCCCCC" points="11,140 11,100 51,100 51,220 21,220 21,140 "/>
<rect id="mouth_1_" x="22" y="149" fill="#666666" width="5" height="2"/>
<g id="eyes">
	<g id="left-eye_1_">
		<path id="left-eye_cornea" fill="#808080" d="M8,116c0,2.2,0.8,4,3,4s3-1.8,3-4s-0.8-4-3-4S8,113.8,8,116z"/>
		<path id="left-eye-pupil" fill="#4C4C4C" d="M11,117.3c-0.7,0-1-0.6-1-1.3s0.3-1.3,1-1.3s1,0.6,1,1.3S11.7,117.3,11,117.3z"/>
	<g id="right-eye_1_">
		<circle id="right-eye_cornea" fill="#999999" cx="30" cy="116" r="5"/>
		<circle id="right-eye_pupil" fill="#333333" cx="30" cy="116" r="2"/>
<g id="monocle_1_">
	<g id="monocle-shadow">
		<rect id="monocle-shadow_handle" x="37" y="116" fill="#B2B2B2" width="1" height="1"/>
		<rect id="monocle-shadow_chain" x="38" y="143" fill="#B2B2B2" width="2" height="2"/>
		<path id="monocle-shadow_bottom" fill="#B2B2B2" d="M30,123c-3.7,0-6.7-2.9-7-6.5c0,0.2,0,0.3,0,0.5c0,3.9,3.1,7,7,7
		<path id="monocle-shadow_top" fill="#808080" d="M30,111c-2.8,0-5,2.2-5,5c0,0.2,0,0.3,0.1,0.5c0.3-2.5,2.4-4.5,4.9-4.5
	<rect id="monocle-chain" x="38" y="116" fill="#333333" width="2" height="27"/>
	<path id="monocle-ring" fill="#333333" d="M36.7,114c-0.9-2.9-3.5-5-6.7-5c-3.9,0-7,3.1-7,7c0,0.2,0,0.3,0,0.5
		c0.3,3.6,3.3,6.5,7,6.5c2.8,0,5.2-1.6,6.3-4H40v-4v-1H36.7z M34.9,116.5c-0.3,2.5-2.4,4.5-4.9,4.5s-4.7-2-4.9-4.5
		c0-0.2-0.1-0.3-0.1-0.5c0-2.8,2.2-5,5-5s5,2.2,5,5C35,116.2,35,116.3,34.9,116.5z M38,117h-1v-1h1V117z"/>
	<circle id="monocle-glare" fill="#CCCCCC" cx="29" cy="114" r="1"/>
<g id="hat">
	<polygon id="hat-main" fill="#333333" points="51,98 39,20 41,15 43,18 41,18 46,23 48,10 36,0 11,6 11,98 6,98 6,100 56,100 
		56,98 	"/>
	<g id="stars">
		<polygon id="star-bottom" fill="#CCCCCC" points="26.7,85.3 25,82 23.3,85.3 20,87 23.3,88.7 25,92 26.7,88.7 30,87 		"/>
		<polygon id="star-3" fill="#CCCCCC" points="40,70 39,68 38,70 36,71 38,72 39,74 40,72 42,71 		"/>
		<polygon id="star-2" fill="#CCCCCC" points="35.7,38.3 34,35 32.3,38.3 29,40 32.3,41.7 34,45 35.7,41.7 39,40 		"/>
		<polygon id="star-top" fill="#CCCCCC" points="36,11 35,9 34,11 32,12 34,13 35,15 36,13 38,12 		"/>


Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................