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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

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.

            
              <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 560">
  <path d="M474.862 102.626c-29.317.03-60.275 1.635-85.982 17.327-23.316 14.232-45.624 36.186-56.43 61.556-9.862 23.148-9.35 51.636-5.98 76.127 3.54 25.703 12.026 51.406 27.247 72.626 16.52 23.03 42.312 42.17 69.72 49.59 30.01 8.123 59.875 2.166 88.83-7.218 23.448-7.6 46.372-18.92 61.82-38.76 8.932-11.47 14.418-25.157 19.925-38.497 6.112-14.806 11.056-30.175 12.2-46.24 4.05-56.962-42.557-114.81-96.63-129.54-6.623-1.805-13.4-2.84-20.255-3.135-1.93-.083-1.926 2.917 0 3 28.576 1.236 54.944 16.835 74.84 36.607 19.716 19.593 35.305 45.91 38.648 73.838 3.657 30.552-8.41 61.498-22.207 88.207-11.644 22.54-32.085 37.33-55.216 46.616-24.81 9.96-52.937 17.93-79.833 15.937-30.97-2.296-58.783-18.142-79.872-40.52-33.37-35.406-43.498-91.485-35.894-138.31 4.508-27.762 23.19-50.164 44.4-67.52 11.36-9.294 23.486-16.934 37.547-21.44 13.734-4.4 28.147-6.148 42.504-6.835 6.868-.33 13.743-.408 20.618-.415 1.93-.003 1.933-3.003 0-3z"/>
  <path d="M375.733 212.93c-.17-13.212 7.024-27.233 22.254-25.53 11.824 1.324 17.124 13.015 19.162 23.383 1.886 9.6 3.47 24.558-4.885 31.633-4.347 3.682-11.1 4.268-16.222 1.982-3.6-1.606-13.526-7.65-7.845-11.932 1.523-1.148.03-3.754-1.514-2.59-8.715 6.572 2.565 15.055 9.023 17.626 10.307 4.103 21.04-1.774 24.28-11.985 3.296-10.39 1.485-24.217-2.41-34.213-3.94-10.107-12.013-17.647-23.404-16.973-14.964.887-21.612 15.21-21.44 28.602.025 1.928 3.025 1.933 3 0z"/>
  <path d="M503.92 184.666c5.31-2.404 11.387-4.194 17.127-2.198 5.917 2.058 10.08 8.28 12.62 13.722 5 10.72 3.034 22.63-4.455 31.64-5.76 6.933-14.947 14.106-24.475 13.528-11.033-.67-17.354-15.217-8.69-22.964 1.442-1.29-.685-3.405-2.12-2.12-8.026 7.175-5.577 21.66 3.947 26.328 11.667 5.72 25.046-3.117 32.62-11.676 9.23-10.428 11.67-24.31 5.42-36.94-2.947-5.95-7.552-12.183-14.07-14.41-6.556-2.24-13.382-.242-19.44 2.5-1.754.795-.23 3.38 1.517 2.59z"/>
  <path d="M418.13 325.547c4.88 3.246 14.16-2.49 18.485-4.628 9.122-4.51 19.078-8.827 27.37-14.688 4.1-2.9 7.037-7.807 11.635-1.837 3.245 4.214 6.17 8.676 9.46 12.866 6.75 8.6 14.576 16.906 25.232 20.387 1.84.6 2.628-2.295.798-2.893-12.082-3.948-20.354-14.71-27.638-24.538-4.166-5.62-8.824-15.76-16.7-9.98-7.685 5.644-15.863 9.804-24.287 14.264-3.81 2.016-7.617 4.05-11.556 5.804-2.4 1.067-8.598 4.44-11.285 2.652-1.613-1.072-3.117 1.525-1.515 2.59z"/>
</svg>
            
          
!
            
              * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	}

path {
	fill: red;
	stroke: #222;
	stroke-width: 1px;
	}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console