css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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"
     xmlns:xlink="http://www.w3.org/1999/xlink" class="element-hidden">
  <symbol id="finances" viewBox="0 0 24 24">
    <g fill="none" fill-rule="evenodd">
      <path stroke="currentColor" stroke-width="2" stroke-linecap="round"
            stroke-linejoin="round" d="M20 9V6H2v12h12m3-6h5m-5 3h5m-5 3h5"/>
      <path
        d="M13.532 15.074c0 .38-.306.686-.686.686h-4.16A.685.685 0 0 1 8 15.074c0-.401.306-.613.802-.771.159-.053.528-.274.528-1.193a.768.768 0 0 0-.074-.306h-.443a.588.588 0 0 1-.591-.58.59.59 0 0 1 .591-.592h.169c-.127-.412-.254-.824-.254-1.288C8.728 9.13 9.52 8 11.347 8c.475 0 .94.053 1.415.211.37.116.56.317.56.655 0 .39-.265.686-.645.686-.105 0-.2-.021-.401-.074-.222-.053-.465-.116-.802-.116-1.025 0-1.289.549-1.289 1.024 0 .401.127.824.275 1.246h1.34a.59.59 0 0 1 .592.591c0 .317-.264.58-.591.58h-1.077a.98.98 0 0 1 .053.307 1.7 1.7 0 0 1-.507 1.277h2.576c.38 0 .686.307.686.687z"
        fill="currentColor"/>
    </g>
  </symbol>
  <symbol id="parking" viewBox="0 0 24 24">
    <g fill="none" fill-rule="evenodd">
      <path stroke="currentColor" stroke-width="2" stroke-linecap="round"
            stroke-linejoin="round" d="M2 19v-9h20v9H6zM4 9l2-6h12l2 6"/>
      <circle fill="currentColor" cx="17.5" cy="14.5" r="1.5"/>
      <circle fill="currentColor" cx="6.5" cy="14.5" r="1.5"/>
      <path stroke="currentColor" stroke-width="2" stroke-linecap="round"
            stroke-linejoin="round" d="M5 20v1h2v-1m10 0v1h2v-1"/>
    </g>
  </symbol>
  <symbol id="information" viewBox="0 0 24 24">
    <g fill="none" fill-rule="evenodd">
      <circle stroke="currentColor" stroke-width="2" stroke-linecap="round"
              stroke-linejoin="round" cx="12" cy="12" r="10"/>
      <path
        d="M13.142,8.078 C13.142,8.666 12.666,9.142 12.064,9.142 C11.476,9.142 11,8.666 11,8.078 C11,7.476 11.476,7 12.064,7 C12.666,7 13.142,7.476 13.142,8.078 Z M13.016,16.576 C13.016,17.094 12.596,17.514 12.064,17.514 C11.56,17.514 11.126,17.094 11.126,16.576 L11.126,11.018 C11.126,10.5 11.56,10.066 12.064,10.066 C12.596,10.066 13.016,10.5 13.016,11.018 L13.016,16.576 Z"
        fill="currentColor"/>
    </g>
  </symbol>
  <symbol id="search" viewBox="0 0 25 25">
    <g fill="none" fill-rule="evenodd">
      <path d="M0 0h25v25H0z"/>
      <path d="M0 0h25v25H0z"/>
      <path
        d="M16.159 9.907c.008-3.259-2.639-5.91-5.91-5.924-3.364-.013-6.092 2.624-6.086 5.884.004 3.191 2.703 5.86 5.937 5.873 3.36.013 6.05-2.578 6.059-5.833m-.238 6.942c-4.73 3.373-10.562 1.826-13.2-1.79C-.013 11.306.56 6.304 4.095 3.192 7.418.268 12.833.277 16.242 3.173c3.506 2.977 4.328 8.478.874 12.564.906-.118 1.409.427 1.95.93 1.746 1.62 3.477 3.257 5.268 4.829.986.866.786 2.176-.006 2.942-.84.812-2.192.734-2.974-.168-1.038-1.198-2.057-2.41-3.085-3.616-.514-.603-1.032-1.203-1.546-1.805-.48-.563-.841-1.174-.802-2"
        fill="currentColor"/>
    </g>
  </symbol>
</svg>

<h2>Original icons</h2>
<div class="icons">
  <span class="icon__wrapper">
    <svg class="icon icon--special-dates" role="img">
      <use xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xlink:href="#finances"></use>
    </svg>
  </span>
  <span class="icon__wrapper">
    <svg class="icon icon--special-dates" role="img">
      <use xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xlink:href="#parking"></use>
    </svg>
  </span>
  <span class="icon__wrapper">
    <svg class="icon icon--special-dates" role="img">
      <use xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xlink:href="#information"></use>
    </svg>
  </span>
  <span class="icon__wrapper">
    <svg class="icon icon--special-dates" role="img">
      <use xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xlink:href="#search"></use>
    </svg>
  </span>
</div>

<h2>Blobby icons</h2>
<div class="icons with-stroke">
  <span class="icon__wrapper">
    <svg class="icon icon--special-dates" role="img">
      <use xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xlink:href="#finances"></use>
    </svg>
  </span>
  <span class="icon__wrapper">
    <svg class="icon icon--special-dates" role="img">
      <use xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xlink:href="#parking"></use>
    </svg>
  </span>
  <span class="icon__wrapper">
    <svg class="icon icon--special-dates" role="img">
      <use xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xlink:href="#information"></use>
    </svg>
  </span>
  <span class="icon__wrapper">
    <svg class="icon icon--special-dates" role="img">
      <use xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xlink:href="#search"></use>
    </svg>
  </span>
</div>
            
          
!
            
              .with-stroke {
  stroke: currentColor;
}

.icons {
  width: 20em;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;

  .icon {
    width: 4em;
    height: 4em;
  }
}

body {
  text-align: center;
  font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif;
}

.element-hidden {
  display: none;
}

            
          
!
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.
Loading ..................

Console