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 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

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 version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
      <defs>
        <filter id="filter" filterUnits="userSpaceOnUse">
          <!-- COLORS -->
          <feFlood flood-color="white" result="COLOR-white" />
          <feFlood flood-color="black" result="COLOR-black" />
          <feFlood flood-color="rgba(0,0,0,0)" flood-opacity="0" result="TRANSPARENT" />
          <!-- COLORS END -->

          <!-- FAT OUTLINE -->
          <feMorphology operator="dilate" radius="4" in="SourceAlpha" result="FAT-OUTLINE_10" />
          <feConvolveMatrix in="FAT-OUTLINE_10" order="6,5" divisor="1" 
          kernelMatrix="0 0 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 0 0 0 1 1 0 0 " result = "FAT-OUTLINE_20" />
          <feOffset dx="4" dy="0" in="FAT-OUTLINE_20" result="FAT-OUTLINE_30"/>        
          <!--  FAT OUTLINE END -->

          <!-- STRIPED SHADOW -->
          <feImage xlink:href="data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22100px%22%20height%3D%22200px%22%20%20%3E%0A%09%3Cdefs%3E%0A%09%09%3Cpattern%20id%3D%22pattern%22%20patternUnits%3D%22userSpaceOnUse%22%20width%3D%225px%22%20height%3D%225px%22%20viewBox%3D%220%200%205%205%22%20%3E%0A%09%09%09%3Cpolygon%20points%3D%225%2C0%204.012%2C0%205%2C0.989%20%09%22%2F%3E%0A%09%09%09%3Cpolygon%20points%3D%225%2C5%200%2C0%200%2C0.989%204.01%2C5%20%09%22%2F%3E%0A%09%09%3C%2Fpattern%3E%0A%09%3C%2Fdefs%3E%0A%09%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%23pattern)%22%20%2F%3E%0A%3C%2Fsvg%3E" x="0" y="2" width="100" height="200" result="STRIPED-SHADOW_10"/> 
          <feTile in="STRIPED-SHADOW_10" result="STRIPED-SHADOW_20"/>
          <feOffset dx="7" dy="8" in="FAT-OUTLINE_30" result="STRIPED-SHADOW_30"/>
          <feComposite operator="in" in="STRIPED-SHADOW_20" in2="STRIPED-SHADOW_30" result="STRIPED-SHADOW_40" />
          <feComposite operator="in" in="COLOR-black" in2="STRIPED-SHADOW_40" result="STRIPED-SHADOW_50" />
          <!--   STRIPED SHADOW END -->
          
          <!-- STRIPED FILL -->
          <feImage xlink:href='data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22100px%22%20height%3D%22200px%22%20%20%3E%0A%09%3Cdefs%3E%0A%09%09%3Cpattern%20id%3D%22pattern%22%20patternUnits%3D%22userSpaceOnUse%22%20width%3D%2210%22%20height%3D%2210%22%3E%0A%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M0%2C8.239V10h1.761L0%2C8.239z%22%2F%3E%0A%09%09%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M5%2C0l5%2C5l0%2C0V3.238L6.762%2C0H5z%22%2F%3E%0A%09%09%09%3Cpolygon%20fill%3D%22%23FFFFFF%22%20points%3D%220%2C3.239%200%2C5%205%2C10%206.761%2C10%20%22%2F%3E%0A%09%09%09%3Cpolygon%20fill%3D%22%23FFFFFF%22%20points%3D%221.762%2C0%200%2C0%2010%2C10%2010%2C8.238%20%22%2F%3E%0A%09%09%3C%2Fpattern%3E%0A%09%3C%2Fdefs%3E%0A%09%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%23pattern)%22%20%2F%3E%0A%3C%2Fsvg%3E' x="0" y="2" width="100" height="200" result="STRIPED-FILL_10"/>
          <feTile in="STRIPED-FILL_10" result="STRIPED-FILL_20"/>
          <feComposite operator="in" in="STRIPED-FILL_20" in2="SourceAlpha" result="STRIPED-FILL_30" />
          <feComposite operator="in" in="COLOR-white" in2="STRIPED-FILL_30" result="STRIPED-FILL_40" />
          <!-- STRIPED FILL END -->

          <!-- REFLECTION -->
          <feGaussianBlur stdDeviation="4" in="SourceAlpha" result="REFLECTION_10"/>
          <feSpecularLighting surfaceScale="7" specularConstant="1.8" specularExponent="30" lighting-color="#white" in="REFLECTION_10" result="REFLECTION_20">
            <fePointLight x="-100" y="-150" z="250">
            </fePointLight>
          </feSpecularLighting>
          <feComposite in2="SourceAlpha" operator="in" in="REFLECTION_20" result="REFLECTION_30" />
          <!--  REFLECTION END -->

          <feMerge  result="merge2">
            <feMergeNode in="STRIPED-SHADOW_50" />
            <feMergeNode in="FAT-OUTLINE_30" />
            <feMergeNode in="STRIPED-FILL_40" />
            <feMergeNode in="REFLECTION_30" />
            <!-- Merging a transparent area is a hack to prevent some browsers from cutting off feMorphology -->
            <feMergeNode in="TRANSPARENT" />
          </feMerge>

        </filter>
      </defs>

      <text class="filtered" x="30" y="140">Blast<text>
      </svg>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Sarina');

html{
        height: 100%;
      }

      body{
        background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%,rgba(0,0,0,0.8) 100%),white url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/100347/baroque-bg.svg');
        background-attachment: fixed;
        margin: 0;
        padding: 0;
        height: 100%;
      }
      ::selection {
        background: black;
      }

      ::-moz-selection {
        background: black;
      }

      svg{
        display: block;
        position: relative;
        width: 480px;
        height: 200px;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        margin: 0 auto;
        overflow: hidden; 
        background-size: cover;
      }

      .filtered{
        filter: url(#filter);
        color: white;
        font: 120px/1 'Sarina', cursive;
      }
              
            
!

JS

              
                
              
            
!
999px

Console