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

              
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 525 365" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet">
  <a xlink:href="http://travelalberta.com/">
    <path d="M351.37 342.397c-55.34 1.268-49.206 1.742-54.226-4.182l-4.23-4.99-.978-11.222c-1.033-11.832-1.973-14.63-6.592-19.625l-9.83-10.63c-3.835-4.15-8.678-10.012-10.76-13.026-2.083-3.014-5.587-7.02-7.79-8.898-2.2-1.88-4.738-4.894-5.637-6.7-.9-1.804-3.28-4.344-5.292-5.644s-3.79-2.822-3.95-3.382c-.163-.56-1.558-2.022-3.1-3.246-1.624-1.288-3.978-4.838-5.587-8.424-1.752-3.905-4-7.2-6.075-8.9-1.81-1.487-4.072-3.75-5.025-5.03-.952-1.28-3.542-2.876-5.752-3.544-3.962-1.2-6.213-4.367-4.47-6.29.434-.48.095-3.272-.75-6.207-1.508-5.218-.43-25.13 8.408-155.35l.8-11.775 23.318.933c12.825.512 32.228.967 43.117 1.01 10.89.042 30.078.114 42.64.16 12.564.045 22.98.158 23.15.25.816.45 1.397 15.562.632 16.47-.483.574-1.84 1.62-3.02 2.327-2.226 1.335-9.434 14.218-8.965 16.023.147.566 2.025 1.32 4.172 1.676 3.754.622 3.984.543 6.092-2.113 1.205-1.518 2.216-3.727 2.247-4.91.03-1.182.31-2.01.624-1.835.312.172.91 7.88 1.325 17.13.98 21.835 2.073 45.48 3.593 77.928.675 14.404 1.435 30.81 1.688 36.463 1.28 28.498 2.44 53.947 3.097 67.802 3.457 73.15 3.258 67.292 2.294 67.368-.38.03-7.207.202-15.17.384z"
    />
  </a>
  <a xlink:href="http://www.hellobc.com/">
    <path d="M6.4 5.558l81.71 19.885c9.12 1.846 17.102 3.538 17.738 3.758 3.146 1.088 37.113 7.538 49.555 9.41 7.78 1.17 24.475 3.022 37.1 4.117s23.383 2.188 23.91 2.43c.526.242.82 1.606.65 3.03-.17 1.424-1.21 16.667-2.314 33.873-1.105 17.208-2.363 36.306-2.8 42.442-4.748 66.995-5.45 82.05-4.058 86.876.834 2.89 1.09 6.054.604 7.474-1.223 3.57 1.16 7.382 5.41 8.65 5.31 1.586 14.23 10.684 16.862 17.2 1.44 3.567 3.486 6.524 6.13 8.864 2.18 1.93 4.09 3.943 4.243 4.472.153.528 1.615 1.77 3.248 2.76 1.634.992 4.12 3.707 5.528 6.035 1.407 2.328 3.008 4.357 3.557 4.51 1.436.402 7.82 7.498 9.59 10.662.83 1.478 6.387 8.034 12.353 14.57 6.27 6.868 11.212 13.125 11.71 14.832.478 1.625 1.28 7.223 1.79 12.443.95 9.784 2.357 13.712 6.043 16.878 2.146 1.844 2.293 2.642.483 2.637-.95-.002-22.516-.44-39.26-.794-5.776-.12-67.992-4.958-93.7-7.283-4.408-.4-9.45-.825-11.202-.947-4.058-.283-4.958-1.076-6.258-5.51-.727-2.483-1.837-3.947-3.558-4.698-6.922-3.015-9.596-4.755-10.126-6.59-.32-1.11-.956-1.91-1.412-1.777-2.33.672-7.164-3.466-9.034-7.735-3.03-6.916-8.04-12.245-15.37-16.35-6.562-3.676-6.644-3.77-7.412-8.53-.63-3.9-1.053-4.733-2.236-4.39-.803.23-1.703.123-2-.242-.296-.366-2.935-1.262-5.866-1.993-2.93-.73-5.512-1.843-5.736-2.47-.225-.625-.837-1.95-1.36-2.945-1.286-2.438-1.83-4.13-4.66-14.483-2.36-8.643-2.365-8.97-.215-12.182 2.033-3.036 2.056-3.515.29-6.007-1.056-1.49-2.413-4.415-3.014-6.498-.83-2.87-2.42-4.854-6.573-8.2-4.592-3.698-5.544-4.968-5.878-7.836-.218-1.882.274-4.423 1.094-5.646 1.655-2.467 1.015-3.915-4.19-9.488-2.618-2.805-3.575-5.078-6.624-15.732-3.448-12.045-3.507-12.557-1.822-15.607.957-1.733 3.787-4.68 6.29-6.547 6.155-4.595 10.172-11.098 9.116-14.757-1.108-3.836-.334-8.948 2.105-13.91 1.825-3.712 1.862-4.8.338-10.075-1.546-5.35-2.05-6.075-5.312-7.64-4.14-1.98-13.02-11.19-16.42-17.022-2-3.432-2.386-5.525-2.85-15.524-.475-10.208-.842-12.156-3.147-16.686-1.436-2.82-4.04-9.166-5.79-14.1-1.748-4.934-3.632-9.824-4.187-10.867-.554-1.042-1.74-3.51-2.634-5.483-.896-1.973-4.474-8.622-7.95-14.773C15.4 15.89 12.06 9.948 11.455 8.84 10.77 7.575 8.874 6.65 6.4 6.364v-.807z"
    />
  </a>
  <a xlink:href="http://www.saskatoon.ca/">
    <path d="M513.978 327.287c-.278-.14-4.05.45-8.38 1.314-4.332.865-9 1.723-10.378 1.91-1.377.187-5.395.876-8.926 1.53-3.53.656-7.547 1.352-8.92 1.547-1.376.195-5.394.88-8.93 1.522-3.536.64-17.708 1.846-31.493 2.677-13.784.83-25.752 1.56-26.594 1.618-4.636.328-7.27.482-13.303.788-3.668.185-7.577.436-8.687.557-1.11.12-5.605.42-9.99.666-6.478.362-7.966.123-7.938-1.274.034-1.606-1.374-34.827-1.618-38.193-.06-.84-.376-7.542-.7-14.89-.326-7.35-.92-20.293-1.32-28.764-.4-8.472-1.136-24.886-1.634-36.48-.498-11.59-.98-21.986-1.075-23.098-.092-1.112-.426-7.807-.742-14.877s-.982-21.635-1.48-32.37c-.498-10.732-1.194-25.988-1.547-33.9-.352-7.913-.955-21.403-1.34-29.977l-.7-15.59 5.09-1.024c2.8-.563 7.307-1.315 10.013-1.672 2.707-.356 8.164-2.016 12.128-3.686 6.8-2.868 7.578-2.986 13.803-2.105 6.15.87 8.513.38 7.93-1.642-.313-1.08-23.597-5.127-29.04-5.047-2.282.033-5.12.34-6.31.68-1.19.34-3.278.004-4.64-.75-2.73-1.504-5.608-1.034-8.017 1.312-1.854 1.807-1.987 1.506-2.482-5.554-.284-4.072.01-5.192 1.36-5.2 1.542-.008 8.734-.572 15.504-1.215 1.353-.127 3.377-.302 4.497-.386 3.4-.254 45.495-4.004 48.2-4.292 1.39-.15 8.012-.737 14.717-1.307s13.968-1.37 16.14-1.78c3.803-.714 3.978-.618 4.756 2.602.443 1.84 2.004 11.662 3.47 21.83 1.463 10.17 3.013 20.728 3.442 23.466.766 4.885.318 7.715-1.293 8.18-1.473.425-5.382 8.47-5.762 11.854.276 2.462.127 4.077 1.55 6.215 4.09 6.16 4.675 9.588 2.368 13.927-1.495 2.814-1.775 4.373-.918 5.148.996.903 1.658.468 3.53-2.327 1.265-1.89 2.94-3.623 3.724-3.848 1.44-.416 2.298 2.616 6.25 22.135.6 2.975 1.97 9.372 3.04 14.214 1.073 4.844 2.33 10.805 2.795 13.246.466 2.443 1.837 8.837 3.05 14.212 1.21 5.375 2.47 11.334 2.8 13.244.325 1.91 1.694 8.305 3.04 14.213 1.347 5.91 2.608 11.868 2.805 13.242.197 1.375 1.56 7.773 3.025 14.22 1.468 6.446 2.74 12.402 2.827 13.235.086.834 1.405 7.01 2.928 13.727 1.523 6.715 2.84 12.893 2.923 13.727.085.834 1.4 7.012 2.923 13.728 1.524 6.715 2.848 13.02 2.942 14.013.095.99.89 4.625 1.765 8.077 1.42 5.604 1.037 7.788-1.175 6.672z"
    />
  </a>
</svg>
              
            
!

CSS

              
                path { 
        transition: .6s fill;
        fill: #D3D3D3;
    }
    path:hover {
        fill: #22aa22;
    }
              
            
!

JS

              
                
              
            
!
999px

Console