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

              
                <body>
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1523" height="144" viewBox="0 0 1523 144">
    <defs>
      <clipPath id="clip-Web_1920_1">
        <rect width="1523" height="144"/>
      </clipPath>
    </defs>
    <g id="Web_1920_1" data-name="Web 1920 – 1" clip-path="url(#clip-Web_1920_1)">
      <rect width="1523" height="144" fill="#fff"/>
      <g id="グループ_7" data-name="グループ 7" transform="translate(-199 -469)">
        <path id="合体_1" data-name="合体 1" d="M0,142V107H105V41.372H20V0H197.207V41.372H112V107H217v35Z" transform="translate(199 469)" fill="red" class="logo"/>
        <g id="グループ_6" data-name="グループ 6" transform="translate(65 86)">
          <rect id="長方形_10" data-name="長方形 10" width="217" height="45" transform="translate(1439 424)" fill="red" class="logo"/>
        </g>
        <path id="合体_3" data-name="合体 3" d="M0,142V107H104V41.372H19.6V0h177.21V41.372H112V107H216v35Z" transform="translate(731 469)" fill="red" class="logo"/>
        <g id="グループ_5" data-name="グループ 5" transform="translate(70 86)">
          <rect id="長方形_8" data-name="長方形 8" width="99" height="31" transform="translate(1191 383)" fill="red" class="logo"/>
          <rect id="長方形_9" data-name="長方形 9" width="99" height="15" transform="translate(1191 431)" fill="red" class="logo"/>
          <path id="パス_7" data-name="パス 7" d="M12.387,35h6.206L-103.794,139.466H-110Z" transform="translate(1345.416 385.578)" fill="red" class="logo"/>
        </g>
        <path id="合体_2" data-name="合体 2" d="M148.25,142.044l-63.971-48.4-78.073,48.4H0L81.484,91.531,43.44,62.748H70.332l25.933,19.62L151.706,48H7.186V0h152V48h-1.274L99.06,84.483l76.082,57.562Z" transform="translate(486 469)" fill="red" class="logo"/>
        <path id="合体_4" data-name="合体 4" d="M148.25,142.044l-63.971-48.4-78.073,48.4H0L81.484,91.531,43.44,62.748H70.332l25.933,19.62L151.706,48H6.584V0h153V48h-1.672L99.06,84.483l76.082,57.562Z" transform="translate(1016 469)" fill="red" class="logo" class="logo"/>
      </g>
    </g>
  </svg>  
</body>
              
            
!

CSS

              
                .logo{
    fill:#000;
    animation-name: logo;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes logo{
    0%{
        fill:#000;
    }
    100%{
        fill:#f00;
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console