Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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

              
                <div class="dark-gray vh-100 flex items-center justify-center helvetica"
  style="background-color: #f8eff0;">

  <!-- Shadow -->
  <div class="bg-light-silver pa1">
    <!-- Stamp -->
    <div class="bg-dark-gray pa3 br2 stamp-border"
      style="font-size: 3.2rem; width: 544px; height: 394px;">
      <!-- Stamp inner content -->
      <div class="flex flex-wrap items-start ba bw1 br1 b--mid-gray h-100 pa1">
        <!-- Left Group -->
        <div class="self-stretch flex flex-column"
          style="width: 258px;">
          <!-- nederland -->
          <div class="br4 bg-yellow flex items-center pl2 pt2"
            style="height: 6.5rem;">
            nederland
          </div>
          <!-- Left Bottom Group -->
          <div class="flex-auto flex">
            <!-- 25 -->
            <div class="br4 mt1 purple bg-moon-gray flex items-center"
              style="width: 104px; font-size: 4.8rem;">
              <span class="mb2 ml2 pb1">25</span>
            </div>
            <!-- osaka -->
            <div class="ml1 pl2 br4 bg-yellow h4 flex-auto self-end flex items-end"
              style="margin-bottom: 3.2rem; height: 6.6rem;">
              <span class="mb3 pb1">osaka</span>
            </div>
          </div>
        </div>

        <!-- Expo -->
        <div class="ml1 br4 bg-moon-gray self-stretch flex flex-column items-end justify-end"
          style="width: 150px;">
          <!-- expo -->
          <div class="ba bw2 b--purple br3 mr3 mb4 purple"
            style="width: 6.4rem; height: 6.4rem; margin-bottom: 3rem;">
            <svg width="100%" height="100%"
              viewBox="5 0 80 60">
              <g fill="none"
                stroke="currentColor"
                stroke-width="4"
                stroke-linecap="round">
                <g transform="translate(0, -34)">
                  <path class="wave"
                    d="M 0 37.5 c 7.684299348848887 0 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15" />
                </g>
                <g transform="translate(0, -12)">
                  <path class="wave"
                    d="M 0 37.5 c 7.684299348848887 0 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15" />
                </g>
                <g transform="translate(0, 12)">
                  <path class="wave"
                    d="M 0 37.5 c 7.684299348848887 0 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15" />
                </g>
                <g transform="translate(0, 34)">
                  <path class="wave"
                    d="M 0 37.5 c 7.684299348848887 0 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15 s 7.172012725592294 15 15 15 s 7.172012725592294 -15 15 -15" />
                </g>
              </g>
            </svg>
          </div>
          <span class="mr1" style="margin-bottom: 4.5rem">expo</span>
        </div>
        <!-- 70 -->
        <div class="ml1 pb3 br4 bg-yellow flex-auto self-end flex items-end"
          style="margin-bottom: 3.3rem; height: 6.6rem; font-size: 2.5rem;">
          <span class="pl1 mb1">70</span>
        </div>
      </div>
    </div>
  </div>

</div>

              
            
!

CSS

              
                .stamp-border {
  border-width: 1rem;
  border-style: solid;
  border-image-source: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/149125/border.svg);
  border-image-slice: 5;
  border-image-repeat: round;
  border-image-width: 2.5;
  border-image-outset: 1.25;
}
.wave {
  animation: moveTheWave 2400ms linear infinite;
  stroke-dasharray: 0 16 101 16;
}

@keyframes moveTheWave {
  0% {
    stroke-dashoffset: 0;
    transform: translate3d(0, 0, 0);
  }

  100% {
    stroke-dashoffset: -133;
    transform: translate3d(-90px, 0, 0);
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console