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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

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 style="display: none;">
<defs>
<g id="Enevelope">
	<path fill="#FDBB11" d="M65.467,35.048H18.533c-4.71,0-8.533,3.823-8.533,8.533V69.18c0,4.71,3.823,8.537,8.533,8.537h46.934
		c4.714,0,8.533-3.827,8.533-8.537V43.581C74,38.871,70.181,35.048,65.467,35.048z M69.733,69.18c0,2.355-1.916,4.267-4.267,4.267
		H18.533c-2.347,0-4.267-1.912-4.267-4.267V43.581c0-2.355,1.92-4.267,4.267-4.267h46.934c2.351,0,4.267,1.912,4.267,4.267V69.18z"
		/>
	<path fill="#FDBB11" d="M57.556,58.253c-0.832-0.832-2.176-0.832-3.012,0c-0.836,0.836-0.836,2.185,0,3.017l8.162,8.166
		c0.84,0.836,2.185,0.841,3.021,0c0.836-0.832,0.836-2.18,0-3.016L57.556,58.253z"/>
	<path fill="#FDBB11" d="M64.626,42.928c-0.828-0.836-2.18-0.836-3.017,0L45.017,59.516c-1.664,1.664-4.365,1.664-6.029,0
		L22.395,42.928c-0.836-0.836-2.189-0.836-3.017,0c-0.832,0.828-0.832,2.18,0,3.017l16.589,16.588c3.333,3.332,8.738,3.332,12.07,0
		l16.589-16.588C65.467,45.108,65.467,43.755,64.626,42.928z"/>
	<path fill="#FDBB11" d="M26.448,58.253l-8.17,8.167c-0.836,0.836-0.836,2.184,0,3.016c0.836,0.841,2.18,0.836,3.021,0l8.162-8.166
		c0.836-0.832,0.836-2.18,0-3.017C28.632,57.421,27.28,57.421,26.448,58.253z"/>
</g>
<g id="Magnify">
	<g>
		<path fill="#A7CAE3" d="M69.049,57.167c-1.542,0-2.992-0.603-4.08-1.696l-8.854-8.847c-2.597,1.315-5.477,2.005-8.398,2.005
			c-10.238,0-18.566-8.327-18.566-18.563c0-10.238,8.329-18.566,18.566-18.566c10.237,0,18.566,8.329,18.566,18.566
			c0,2.923-0.691,5.804-2.008,8.399l8.852,8.853c1.09,1.087,1.69,2.535,1.69,4.077s-0.601,2.99-1.691,4.079
			C72.041,56.564,70.592,57.167,69.049,57.167z M47.716,18.767c-6.231,0-11.3,5.069-11.3,11.3c0,6.229,5.069,11.296,11.3,11.296
			s11.3-5.067,11.3-11.296C59.016,23.835,53.947,18.767,47.716,18.767z"/>
		<path fill="#FFFFFF" d="M47.716,13c9.425,0,17.066,7.642,17.066,17.066c0,3.166-0.866,6.127-2.363,8.666l9.646,9.647
			c1.668,1.664,1.668,4.369,0,6.033c-0.832,0.836-1.924,1.254-3.017,1.254s-2.185-0.418-3.017-1.254l-9.651-9.643
			c-2.538,1.493-5.499,2.359-8.665,2.359c-9.425,0-17.066-7.642-17.066-17.063C30.65,20.642,38.292,13,47.716,13 M47.716,42.862
			c7.057,0,12.8-5.743,12.8-12.796c0-7.062-5.743-12.8-12.8-12.8c-7.058,0-12.8,5.738-12.8,12.8
			C34.917,37.119,40.659,42.862,47.716,42.862 M47.716,10C36.652,10,27.65,19.002,27.65,30.066c0,11.063,9.002,20.063,20.066,20.063
			c2.79,0,5.544-0.583,8.084-1.699l8.111,8.104c1.366,1.373,3.192,2.132,5.137,2.132s3.771-0.759,5.143-2.138
			c1.367-1.364,2.125-3.189,2.125-5.133s-0.757-3.769-2.132-5.141l-8.103-8.103c1.117-2.539,1.701-5.294,1.701-8.085
			C67.783,19.002,58.781,10,47.716,10L47.716,10z M47.716,39.862c-5.404,0-9.8-4.395-9.8-9.796c0-5.404,4.396-9.8,9.8-9.8
			s9.8,4.396,9.8,9.8C57.516,35.468,53.12,39.862,47.716,39.862L47.716,39.862z"/>
	</g>
	<path fill="#FFFFFF" d="M47.716,16.227c-7.633,0-13.84,6.207-13.84,13.84s6.208,13.84,13.84,13.84s13.84-6.208,13.84-13.84
		S55.349,16.227,47.716,16.227z"/>
	<path fill="#A7CAE3" d="M47.716,21.533c-4.706,0-8.533,3.827-8.533,8.533S43.01,38.6,47.716,38.6s8.533-3.827,8.533-8.533
		S52.422,21.533,47.716,21.533z"/>
</g>
<g id="Exclamation">
<path fill="#FFFFFF" d="M90.723,85.651L74.778,55.03c-2.445-4.689-6.443-4.689-8.888,0L49.941,85.651
		c-2.44,4.689,0.03,8.529,5.491,8.529h29.803C90.697,94.18,93.167,90.34,90.723,85.651z"/>
	<g>
		<path fill="#FDBB11" d="M55.433,95.18c-3.064,0-5.417-1.096-6.625-3.086c-1.162-1.914-1.074-4.366,0.247-6.904l15.95-30.621
			c1.363-2.615,3.256-4.055,5.33-4.055s3.968,1.44,5.331,4.054l15.944,30.622c1.323,2.538,1.413,4.99,0.251,6.904
			c-1.207,1.991-3.56,3.087-6.625,3.087H55.433z M70.332,81.668c-2.584,0-4.688,2.103-4.688,4.688c0,2.587,2.103,4.691,4.688,4.691
			c2.587,0,4.691-2.104,4.691-4.691C75.023,83.771,72.919,81.668,70.332,81.668z M70.332,58.914c-2.584,0-4.688,2.103-4.688,4.688
			v9.954c0,2.587,2.103,4.691,4.688,4.691c2.587,0,4.691-2.104,4.691-4.691v-9.954C75.023,61.017,72.919,58.914,70.332,58.914z"/>
		<path fill="#FFFFFF" d="M70.334,51.514c1.611,0,3.222,1.172,4.444,3.517l15.944,30.621c2.444,4.689-0.025,8.529-5.487,8.529
			H55.433c-5.461,0-7.932-3.84-5.491-8.529L65.891,55.03C67.113,52.686,68.724,51.514,70.334,51.514 M70.332,79.247
			c3.141,0,5.691-2.547,5.691-5.691v-9.954c0-3.14-2.551-5.688-5.691-5.688s-5.688,2.547-5.688,5.688v9.954
			C64.645,76.7,67.191,79.247,70.332,79.247 M70.332,92.047c3.141,0,5.691-2.547,5.691-5.691c0-3.14-2.551-5.688-5.691-5.688
			s-5.688,2.547-5.688,5.688C64.645,89.5,67.191,92.047,70.332,92.047 M70.334,49.514c-1.428,0-4.134,0.597-6.217,4.592
			l-15.95,30.622c-1.489,2.86-1.565,5.661-0.215,7.885c1.376,2.267,4.103,3.567,7.48,3.567h29.803c3.379,0,6.105-1.3,7.48-3.568
			c1.349-2.225,1.271-5.025-0.22-7.885l-15.944-30.62C74.468,50.11,71.762,49.514,70.334,49.514L70.334,49.514z M70.332,77.247
			c-2.033,0-3.688-1.656-3.688-3.691v-9.954c0-2.033,1.654-3.688,3.688-3.688c2.036,0,3.691,1.654,3.691,3.688v9.954
			C74.023,75.591,72.368,77.247,70.332,77.247L70.332,77.247z M70.332,90.047c-2.033,0-3.688-1.656-3.688-3.691
			c0-2.033,1.654-3.688,3.688-3.688c2.036,0,3.691,1.654,3.691,3.688C74.023,88.391,72.368,90.047,70.332,90.047L70.332,90.047z"/>
	</g>
</g>
<g id="Arrow">
	<path fill="#279F48" d="M37.736,46.444c-2.904,0-5.267-2.363-5.267-5.267v-7.533h-4.79c-2.512,0-3.322-1.065-3.582-1.701
		c-0.249-0.61-0.42-1.876,1.235-3.499l12.413-12.139c1.134-1.112,2.648-1.725,4.26-1.725s3.126,0.613,4.264,1.725l12.407,12.138
		c1.656,1.624,1.485,2.89,1.236,3.5c-0.259,0.635-1.07,1.701-3.582,1.701h-4.794v7.533c0,2.904-2.363,5.267-5.267,5.267H37.736z"/>
	<path fill="#FFFFFF" d="M42.005,15.581c1.292,0,2.583,0.48,3.564,1.44l12.407,12.138c1.958,1.92,1.216,3.486-1.647,3.486h-5.794
		v8.533c0,2.364-1.907,4.267-4.267,4.267h-8.533c-2.355,0-4.267-1.903-4.267-4.267v-8.533h-5.79c-2.863,0-3.605-1.566-1.647-3.486
		l12.412-12.138C39.424,16.061,40.714,15.581,42.005,15.581 M42.005,13.581c-1.876,0-3.638,0.714-4.961,2.012l-12.41,12.136
		c-2.074,2.034-1.806,3.751-1.462,4.594c0.354,0.867,1.411,2.322,4.508,2.322h3.79v6.533c0,3.456,2.811,6.267,6.267,6.267h8.533
		c3.456,0,6.267-2.811,6.267-6.267v-6.533h3.794c3.097,0,4.153-1.455,4.508-2.322c0.344-0.843,0.612-2.56-1.461-4.592l-12.409-12.14
		C45.643,14.294,43.88,13.581,42.005,13.581L42.005,13.581z"/>
</g>
</defs>
</svg>

<div>
  <h2>All</h2>
  <svg height="100" width="100">
    <use xlink:href="#Enevelope"></use>
    <use xlink:href="#Magnify"></use>
    <use xlink:href="#Exclamation"></use>
    <use xlink:href="#Arrow"></use>
  </svg>
</div>

<div>
  <h2>Magnify</h2>
  <svg height="100" width="100">
    <use xlink:href="#Enevelope"></use>
    <use xlink:href="#Magnify"></use>
  </svg>
</div>

<div>
  <h2>Exclamation</h2>
  <svg height="100" width="100">
    <use xlink:href="#Enevelope"></use>
    <use xlink:href="#Exclamation"></use>
  </svg>
</div>

<div>
  <h2>Arrow</h2>
  <svg height="100" width="100">
    <use xlink:href="#Enevelope"></use>
    <use xlink:href="#Arrow"></use>
  </svg>
</div>
              
            
!

CSS

              
                h2 {
  color: #424242;
  font-family: Arial, sans-serif;
}

div {
  border: solid 1px currentColor; 
  margin: 20px; 
  padding: 20px;
  text-align: center;
}
              
            
!

JS

              
                
              
            
!
999px

Console