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.

+ add another resource


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


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.


Pin Trail SVG Icon - Cleaned & Optimized

This demo is part of the course ‘SVG Workflows in Sketch’.
Designed by Peter Nowell  @pnowelldesign

<svg xmlns="" width="120" height="120" viewBox="0 0 120 120">
	<!-- Trail’s Gradient Definition -->
    <linearGradient id="trail-gradient" x1="92.86%" x2="5.16%" y1="88.17%" y2="40.58%">
      <stop stop-color="#C8C8C8" offset="0%"/>
      <stop stop-color="#979797" offset="100%"/>
	<!-- Trail -->
	<path fill="none" stroke="url(#trail-gradient)" stroke-width="3" d="M24 72.78c0 7.8 7.76 16.57 20.86 16.57C63.3 89.35 69.03 64 88.62 64 104.16 64 110 74.74 110 85.42c0 8-7.84 17.58-18.36 17.58-10.53 0-16.82-8.46-16.82-14.63" stroke-dasharray="3 2.6"/>
	<!-- Pin Needle -->
	<path fill="#C4C8CC" d="M21 30h6v40h-6z"/>
	<!-- Pinhead -->
	<circle cx="24" cy="24" r="12" fill="#FF6159"/>
	<!-- Reflection -->
	<ellipse cx="28.6" cy="17.23" fill="#FFF" opacity=".5" transform="rotate(-60 28.598 17.232)" rx="2" ry="3"/>


                svg {
	width: 50vmin;
	height: 50vmin;
	margin: 5px;