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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <header>

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
 
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1000" height="700" xml:space="preserve"  id="ken-burns-plus" >
    <filter id="effect-1">
        <feGaussianBlur stdDeviation="2" />
    </filter>
  <style type="text/css">
    .front{
      animation: parallax-front 25s infinite ease-in-out;
      filter:url(#effect-1);
    }
    .mid{
      animation: parallax-mid 25s infinite linear;
    }
    .back{
      filter:url(#effect-1); 
    }
.front, .mid, .back{
      transform-origin: 50% 50%;
}
    
  
    @keyframes parallax-front { 
        0%,100%  {transform: scale(1);} 
        50% {transform: scale(1.45);} 
        } 

    
    
   @keyframes parallax-mid { 
        0% {transform: scale(1);} 
        50% {transform: scale(1.2);} 
        100% {transform: scale(1); } 
      }  


  </style>
    
 <g>   
  <image class="back" xlink:href="https://i.ibb.co/yFTDtXQ/wilson-b-back.png" x="0" y="0" width="100%" height="100%"  />
  <image class="mid"  xlink:href="https://i.ibb.co/8gv3FVf/wilson-b-mid.png" x="0" y="0" width="100%" height="100%" />
  <image  class="front" xlink:href="https://i.ibb.co/b2fRNgm/wilson-b-front.png" x="0" y="0" width="100%" height="100%" />
  </g>
</svg>
 
  
  
  <h1 class="title">
    Woodrow Wilson Opens 1913 Season
  </h1>
  
</header>



  <link href='https://fonts.googleapis.com/css?family=Montserrat:700' rel='stylesheet' type='text/css'>
            
          
!

CSS

            
              header {
  height: 450px;
  border: 6px #000 solid;
  overflow: hidden;
  position: relative;
  background:#222;
  svg {
    margin: -5% 0%;
    position: absolute;
  }
  h1{
    position: absolute; 
    bottom: 0 ;
    right: 2rem;
    font-family: 'Montserrat', sans-serif;
    color: #cccc22;
    width: 40%;
    text-shadow: 3px 3px 3px #000;
    text-align: right;
    font-size: 3rem
  }
}
            
          
!

JS

            
              
            
          
!
999px

Console