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="#663300" result="COLOR-red" />‚
            <feFlood flood-color="#D7A500" result="COLOR-y" />
          <!-- COLORS END -->

          <!-- STRIPE FILL -->
              <feImage xlink:href="data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20id%3D%22Untitled-Seite_x25_201%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%2210px%22%20height%3D%224px%22%3E%0A%3Crect%20fill%3D%22%239F6B00%22%20width%3D%2210%22%20height%3D%222%22%2F%3E%3C%2Fsvg%3E" x="0" y="0" width="10" height="4" result="STRIPE FILL_10"/> 
            <feTile in="STRIPE FILL_10" result="STRIPE FILL_20"/>
            <feComposite operator="in" in="STRIPE FILL_20" in2="SourceAlpha" result="STRIPE FILL_30"/>
          <!-- STRIPE FILL END -->

          <!-- THIN BEVEL -->
            <feMorphology operator="dilate" radius="2" in="SourceAlpha" result="THIN-BEVEL_10" />
            <feComposite operator="out" in="THIN-BEVEL_10" in2="SourceAlpha" result="THIN-BEVEL_20"/>
            <feComposite operator="in" in="COLOR-y" in2="THIN-BEVEL_20" result="THIN-BEVEL_30" />
          <!-- THIN BEVEL END -->

          <!-- OUTER BEVEL -->
          <feConvolveMatrix order="8,8" divisor="1"
            kernelMatrix="1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 " in="SourceGraphic" result="OUTER-BEVEL_10" />
            <feOffset dx="4" dy="4" in="OUTER-BEVEL_10" result="OUTER-BEVEL_20"/>
            <feComposite operator="in" in="COLOR-red" in2="OUTER-BEVEL_20" result="OUTER-BEVEL_30" />
           <!-- OUTER BEVEL END -->

          <!-- INNER BEVEL -->
            <feOffset in="SourceAlpha" dx="4" dy="4" result="INNER-BEVEL_10"/>
            <feComposite operator="out" in="SourceAlpha" in2="INNER-BEVEL_10" result="INNER-BEVEL_20" />
            <feComposite in="COLOR-red" operator="in" in2="INNER-BEVEL_20" result="INNER-BEVEL_30" />
          <!--  INNER BEVEL END -->

          <!-- FAT OUTLINE -->
            <feMorphology operator="dilate" radius="6" in="OUTER-BEVEL_30" result="FAT-OUTLINE_10" />
            <feComposite operator="in" in="COLOR-y" in2="FAT-OUTLINE_10" result="FAT-OUTLINE_20" />
          <!-- FAT OUTLINE END -->

            <feMerge  result="merge2">
              <feMergeNode in="FAT-OUTLINE_20" />
              <feMergeNode in="OUTER-BEVEL_30" />   
              <feMergeNode in="STRIPE FILL_30" /> 
              <feMergeNode in="INNER-BEVEL_30" />   
              <feMergeNode in="THIN-BEVEL_30" />
            </feMerge> 
          </filter>
      </defs>

      <text class="filtered" x="60" y="140">Pansen!<text>

    </svg>
              
            
!

CSS

              
                    @import url('https://fonts.googleapis.com/css?family=Oleo+Script:400,700');

html{
        height: 100%;
      }

      body{
        background-color: #A82B12;
        height: 100%;
        background-size: cover;
        background-attachment: fixed;
        padding: 0;
        margin: 0;
      }

      @media screen and (max-width: 1281px) {
        body {
          background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/100347/meat_m.jpg');
        }
      }

      @media screen and (max-width: 760px) {
        body {
          background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/100347/meat_s.jpg');
        }
      }

      @media screen and (min-width: 1281px),
      screen and (-webkit-min-device-pixel-ratio: 2),
      screen and ( min--moz-device-pixel-ratio: 2),
      screen and ( min-device-pixel-ratio: 2),
      screen and ( min-resolution: 192dpi),
      screen and ( min-resolution: 2dppx){ 
        body {
          background-image: url('https://dl.dropboxusercontent.com/u/974449/patterns/meat_l.jpg');
        }
      }

      ::selection {
        background: #D7A500;
      }

      ::-moz-selection {
        background: #D7A500;
      }

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

      .filtered{
        filter: url(#filter);
        -webkit-filter: url(#filter);
        color: #D7A500;
        fill: #D7A500;
        font-family: 'Oleo Script', cursive;
        font-size: 140px;
      }
              
            
!

JS

              
                
              
            
!
999px

Console