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

              
                <div class="four-o-four">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 355.333 132.001">
  <pattern id="gif" patternUnits="objectBoundingBox" width="1" height="1">
    <image xlink:href="https://s3-us-west-2.amazonaws.com/s.cdpn.io/244725/giphy.gif" x="0" y="0" width="347" height="132" preserveAspectRatio="none" />
  </pattern>
  <g stroke="#000" stroke-width="5" stroke-miterlimit="10">
    <path d="M42.037 124.497c-1.301-.6-1.725-1.65-1.275-3.15.45-1.5 1.2-3.098 2.25-4.801 1.05-1.699 2.149-3.322 3.3-4.875 1.148-1.549 1.774-2.773 1.875-3.674.098-.6.173-1.6.225-3 .049-1.4.075-2.873.075-4.426 0-1.549-.026-3.049-.075-4.5-.051-1.447-.126-2.523-.225-3.225h-27.9c-.101-.199-.25-.398-.45-.6-.501-.5-.802-.85-.9-1.051l-7.65-15.299v-5.102l43.35-61.499V6.748c2.199-.1 4.8-.1 7.8 0s5.974.225 8.925.375c2.948.149 5.7.325 8.25.524 2.55.202 4.474.352 5.775.45v3.75l-6.45 14.1c-.101.102-.176 1.252-.225 3.45-.052 2.2-.075 4.776-.075 7.726 0 2.95.023 6 .075 9.149.049 3.149.124 5.774.225 7.875 0 .601.049 1.751.15 3.45.098 1.701.225 3.525.375 5.474.15 1.951.3 3.775.45 5.475.15 1.703.274 2.852.375 3.451h7.65c.199 0 .45.176.75.525.3.352.45.625.45.824 0 .301.023 1.477.075 3.525.049 2.051.049 4.275 0 6.674-.052 2.4-.176 4.553-.375 6.451-.202 1.9-.501 2.85-.9 2.85h-9c-.202 0-.352.525-.45 1.574-.101 1.051-.15 2.326-.15 3.826s.049 3.025.15 4.574c.099 1.553.249 2.826.45 3.826.098.5.45 1.449 1.05 2.85s1.249 2.85 1.95 4.35c.698 1.5 1.373 2.926 2.025 4.275.649 1.35 1.125 2.227 1.425 2.625.5 1.5.274 2.6-.675 3.299-.952.699-1.976 1.299-3.075 1.801-3.101.098-6.375.125-9.825.074-3.45-.051-6.9-.148-10.35-.299-3.45-.15-6.851-.326-10.2-.525C47.91 124.896 44.835 124.696 42.037 124.497zM34.237 71.997h1.35c.499 0 1.374-.049 2.625-.15 1.249-.098 2.55-.225 3.9-.375s2.599-.301 3.75-.449c1.148-.15 1.924-.227 2.325-.227V51.598c-.202 0-.45.15-.75.449-.3.301-.45.551-.45.75l-10.2 14.101L34.237 71.997zM151.086 124.046c-.202 0-.476-.148-.825-.449-.352-.301-.525-.549-.525-.75-.6-1.1-1.401-2.498-2.4-4.199-1-1.699-1.976-3.35-2.925-4.951-.952-1.598-1.777-3-2.475-4.199-.701-1.201-1.05-1.85-1.05-1.951l3.9-89.548c0-.1.15-.525.45-1.275.3-.75.624-1.625.975-2.625.349-.998.75-1.974 1.2-2.926.45-.949.825-1.673 1.125-2.174 0-.199.15-.451.45-.75.3-.301.549-.451.75-.451 7.2-.998 14.149-1.973 20.85-2.924 6.699-.949 12.999-1.125 18.9-.525 5.899.6 11.25 2.377 16.05 5.324 4.8 2.951 8.85 7.826 12.15 14.625l2.55 75.45v5.25l-12.75 20.4h-14.25c-1.601 0-4.375-.053-8.325-.15-3.952-.102-8.175-.225-12.675-.375s-8.751-.301-12.75-.451C155.486 124.272 152.685 124.146 151.086 124.046zM185.736 103.647c.199 0 .45-.15.75-.451.3-.299.45-.549.45-.75.099-.299.225-.824.375-1.574s.3-1.523.45-2.326c.15-.799.274-1.574.375-2.324.098-.75.15-1.275.15-1.574.098-1.1.225-3.275.375-6.525.15-3.248.3-6.773.45-10.576.15-3.799.274-7.447.375-10.949.099-3.5.15-6.048.15-7.649V30.748c-.6-.601-1.875-1.148-3.825-1.65-1.95-.5-3.975-.849-6.075-1.051-2.1-.199-4-.199-5.7 0-1.702.202-2.55.652-2.55 1.351v74.25H185.736zM298.834 124.497c-1.301-.6-1.725-1.65-1.274-3.15.449-1.5 1.199-3.098 2.25-4.801 1.05-1.699 2.148-3.322 3.3-4.875 1.148-1.549 1.774-2.773 1.875-3.674.099-.6.173-1.6.225-3 .05-1.4.075-2.873.075-4.426 0-1.549-.025-3.049-.075-4.5-.052-1.447-.126-2.523-.225-3.225h-27.9c-.101-.199-.251-.398-.45-.6-.501-.5-.801-.85-.899-1.051l-7.65-15.299v-5.102l43.351-61.499V6.748c2.198-.1 4.8-.1 7.8 0s5.974.225 8.925.375c2.948.149 5.7.325 8.25.524 2.55.202 4.475.352 5.775.45v3.75l-6.45 14.1c-.101.102-.176 1.252-.226 3.45-.051 2.2-.074 4.776-.074 7.726 0 2.95.023 6 .074 9.149.05 3.149.125 5.774.226 7.875 0 .601.049 1.751.149 3.45.099 1.701.226 3.525.375 5.474.15 1.951.301 3.775.45 5.475.15 1.703.274 2.852.375 3.451h7.65c.199 0 .45.176.75.525.3.352.45.625.45.824 0 .301.023 1.477.074 3.525.05 2.051.05 4.275 0 6.674-.051 2.4-.176 4.553-.375 6.451-.201 1.9-.501 2.85-.899 2.85h-9c-.202 0-.352.525-.45 1.574-.101 1.051-.15 2.326-.15 3.826s.05 3.025.15 4.574c.099 1.553.248 2.826.45 3.826.099.5.45 1.449 1.05 2.85s1.249 2.85 1.95 4.35c.698 1.5 1.373 2.926 2.024 4.275.649 1.35 1.125 2.227 1.426 2.625.499 1.5.273 2.6-.676 3.299-.951.699-1.976 1.299-3.074 1.801-3.102.098-6.375.125-9.825.074s-6.9-.148-10.351-.299c-3.449-.15-6.851-.326-10.199-.525C304.708 124.896 301.633 124.696 298.834 124.497zM291.035 71.997h1.35c.5 0 1.374-.049 2.625-.15 1.25-.098 2.551-.225 3.9-.375s2.6-.301 3.75-.449c1.148-.15 1.924-.227 2.325-.227V51.598c-.202 0-.45.15-.75.449-.3.301-.45.551-.45.75l-10.2 14.101L291.035 71.997z"/>
  </g>
  <g fill="url(#gif)" stroke="#000" stroke-width="5" stroke-miterlimit="10">
    <path d="M37.785 124.831c-1.301-.601-1.725-1.65-1.275-3.15.45-1.5 1.2-3.099 2.25-4.801 1.05-1.699 2.149-3.322 3.3-4.875 1.148-1.549 1.774-2.774 1.875-3.674.098-.601.173-1.6.225-3 .049-1.4.075-2.874.075-4.426 0-1.549-.026-3.049-.075-4.5-.051-1.448-.126-2.523-.225-3.225h-27.9c-.101-.199-.25-.398-.45-.6-.501-.5-.802-.85-.9-1.051l-7.65-15.3V71.13l43.35-61.5v-2.55c2.199-.099 4.8-.099 7.8 0 3 .101 5.974.225 8.925.375 2.948.15 5.7.326 8.25.525 2.55.202 4.474.352 5.775.45v3.75l-6.45 14.1c-.101.101-.176 1.252-.225 3.45-.052 2.201-.075 4.776-.075 7.725 0 2.951.023 6 .075 9.15.049 3.15.124 5.775.225 7.875 0 .6.049 1.751.15 3.45.098 1.701.225 3.525.375 5.475.15 1.95.3 3.775.45 5.475.15 1.702.274 2.851.375 3.451h7.65c.199 0 .45.176.75.524.3.352.45.626.45.825 0 .3.023 1.477.075 3.525.049 2.051.049 4.274 0 6.674-.052 2.4-.176 4.553-.375 6.451-.202 1.9-.501 2.85-.9 2.85h-9c-.202 0-.352.525-.45 1.574-.101 1.051-.15 2.326-.15 3.826s.049 3.025.15 4.574c.099 1.552.249 2.826.45 3.825.098.501.45 1.45 1.05 2.851s1.249 2.85 1.95 4.35c.698 1.5 1.373 2.925 2.025 4.275.649 1.35 1.125 2.227 1.425 2.625.5 1.5.274 2.599-.675 3.299-.952.699-1.976 1.299-3.075 1.801-3.101.098-6.375.124-9.825.074-3.45-.051-6.9-.149-10.35-.299-3.45-.15-6.851-.326-10.2-.525C43.658 125.229 40.583 125.03 37.785 124.831zM29.985 72.331h1.35c.499 0 1.374-.05 2.625-.15 1.249-.099 2.55-.225 3.9-.375s2.599-.301 3.75-.45c1.148-.149 1.924-.226 2.325-.226V51.931c-.202 0-.45.15-.75.45-.3.3-.45.551-.45.75l-10.2 14.1L29.985 72.331zM146.834 124.38c-.202 0-.476-.149-.825-.449-.352-.301-.525-.549-.525-.75-.6-1.1-1.401-2.498-2.4-4.2-1-1.699-1.976-3.349-2.925-4.95-.952-1.598-1.777-3-2.475-4.199-.701-1.201-1.05-1.85-1.05-1.951l3.9-89.549c0-.099.15-.525.45-1.275.3-.75.624-1.625.975-2.625.349-.999.75-1.974 1.2-2.925.45-.949.825-1.673 1.125-2.175 0-.199.15-.45.45-.75.3-.3.549-.45.75-.45 7.2-.999 14.149-1.973 20.85-2.925 6.699-.949 12.999-1.125 18.9-.525 5.899.6 11.25 2.376 16.05 5.325 4.8 2.951 8.85 7.826 12.15 14.625l2.55 75.451v5.25l-12.75 20.399h-14.25c-1.601 0-4.375-.052-8.325-.149-3.952-.102-8.175-.226-12.675-.375-4.5-.15-8.751-.301-12.75-.451C151.234 124.605 148.433 124.479 146.834 124.38zM181.484 103.98c.199 0 .45-.149.75-.45.3-.3.45-.549.45-.75.099-.3.225-.824.375-1.574s.3-1.523.45-2.326c.15-.799.274-1.574.375-2.324.098-.75.15-1.275.15-1.575.098-1.099.225-3.274.375-6.524.15-3.249.3-6.773.45-10.576.15-3.799.274-7.447.375-10.949.099-3.5.15-6.049.15-7.65v-28.2c-.6-.6-1.875-1.148-3.825-1.65-1.95-.5-3.975-.849-6.075-1.05-2.1-.199-4-.199-5.7 0-1.702.202-2.55.652-2.55 1.35v74.25H181.484zM294.583 124.831c-1.301-.601-1.725-1.65-1.274-3.15.449-1.5 1.199-3.099 2.25-4.801 1.05-1.699 2.148-3.322 3.3-4.875 1.148-1.549 1.774-2.774 1.875-3.674.099-.601.173-1.6.225-3 .05-1.4.075-2.874.075-4.426 0-1.549-.025-3.049-.075-4.5-.052-1.448-.126-2.523-.225-3.225h-27.9c-.101-.199-.251-.398-.45-.6-.501-.5-.801-.85-.899-1.051l-7.65-15.3V71.13l43.351-61.5v-2.55c2.198-.099 4.8-.099 7.8 0 3 .101 5.974.225 8.925.375 2.948.15 5.7.326 8.25.525 2.55.202 4.475.352 5.775.45v3.75l-6.45 14.1c-.101.101-.176 1.252-.226 3.45-.051 2.201-.074 4.776-.074 7.725 0 2.951.023 6 .074 9.15.05 3.15.125 5.775.226 7.875 0 .6.049 1.751.149 3.45.099 1.701.226 3.525.375 5.475.15 1.95.301 3.775.45 5.475.15 1.702.274 2.851.375 3.451h7.65c.199 0 .45.176.75.524.3.352.45.626.45.825 0 .3.023 1.477.074 3.525.05 2.051.05 4.274 0 6.674-.051 2.4-.176 4.553-.375 6.451-.201 1.9-.501 2.85-.899 2.85h-9c-.202 0-.352.525-.45 1.574-.101 1.051-.15 2.326-.15 3.826s.05 3.025.15 4.574c.099 1.552.248 2.826.45 3.825.099.501.45 1.45 1.05 2.851s1.249 2.85 1.95 4.35c.698 1.5 1.373 2.925 2.024 4.275.649 1.35 1.125 2.227 1.426 2.625.499 1.5.273 2.599-.676 3.299-.951.699-1.976 1.299-3.074 1.801-3.102.098-6.375.124-9.825.074-3.45-.051-6.9-.149-10.351-.299-3.449-.15-6.851-.326-10.199-.525C300.457 125.229 297.381 125.03 294.583 124.831zM286.783 72.331h1.35c.5 0 1.374-.05 2.625-.15 1.25-.099 2.551-.225 3.9-.375s2.6-.301 3.75-.45c1.148-.149 1.924-.226 2.325-.226V51.931c-.202 0-.45.15-.75.45-.3.3-.45.551-.45.75l-10.2 14.1L286.783 72.331z"/>
  </g>
</svg>
</div>
              
            
!

CSS

              
                body {
  background: #ffb89a;
}

svg {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  width: 75%;
}



              
            
!

JS

              
                
              
            
!
999px

Console