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 xmlns="http://www.w3.org/2000/svg" class="fallout4" viewBox="0 0 58 18">
  <g>
    <path class="letters" d="M3.032 9.095v6.339H0V0h7.166v2.205H3.032V6.89h4.134v2.205zM10.264 9.095h1.929l.01-1.93q0-1.102-.826-1.102-.838 0-.838 1.103l-.01 1.102H7.507V6.063q0-2.204 3.263-2.204h1.113q3.352 0 3.363 2.204l-.022 9.371h-2.757v-.551q-.264.827-1.918.827-3.318 0-3.318-2.205v-2.48q0-1.93 3.032-1.93zm.826 1.93q-.826 0-.826 1.102v.264q0 1.114.826 1.114h.276q.783 0 .827-1.114v-1.367zM16.316 0h3.032v15.434h-3.032zM20.461 0h3.032v15.434H20.46zM30.736 3.87q-.254-.056-.54-.078l1.41-1.973zm-4.31 11.829q.264.055.573.088l-1.4 1.962zm4.2-11.72q1.973.398 1.973 2.084v7.442q0 2.205-3.296 2.205h-1.378q-.441 0-.816-.033l4.663-6.582h-3.307zm-4.09 11.61q-1.93-.409-1.93-2.084V6.063q0-2.204 3.285-2.204h1.356q.452 0 .838.044l-4.928 6.846h3.308zM38.651 15.434v-.551q-.275.827-1.929.827-3.032 0-3.032-2.205v-9.37h3.032v8.267q0 1.103.783 1.103h.275q.86 0 .871-1.103V4.134h3.032v11.3zM43.26 4.134V1.102L46.29 0v4.134h1.654v1.378H46.29v6.89q0 1.103.827 1.103h.827v2.205H46.29q-3.032 0-3.032-2.205V5.512h-1.102V4.134zM51.792 9.095h1.93V3.032zM56.753 0v9.095h1.654V11.3h-1.654v4.134h-3.032V11.3h-4.685V9.095L51.792 0z"/>
    <path class="ray" d="M25.598 17.75l6.174-8.655h-3.307l3.142-7.276-6.45 8.93h3.308z"/>
</svg>
              
            
!

CSS

              
                body {
  background:#000;  
}

.fallout4 {
  display:block;
  width:640px;
  margin:75px auto;
  border:6px solid #000;
  padding:20px 25px 10px 25px;
  border-radius:25px;
  animation:appears 4s linear 10s forwards,
            blinkon 0.2s linear 16s alternate forwards,
            switchon 0.2s linear 16s forwards,
            finalblink 0.2s linear 25s forwards 4,
            finalblink 0.4s linear 26s forwards 3 reverse,
            stable 1s linear 27s forwards;
}

.ray {
  fill:#000;
  transform-origin:50% 50%;
  animation:blink 6s cubic-bezier(.26,.84,.81,1.45) 2s forwards,
            switchon-ray 0.2s linear 16s forwards;
}

@keyframes appears {
  0% { 
    fill:#000;
    border-color:#000;
    transform:skew(0);    
  }
  100% { 
    fill:#666;
    border-color:#666;
    transform:skew(-15deg);    
  }
}

@keyframes blink {
  1%, 7%, 11%, 19%, 24%, 39%, 52%, 62%, 84%, 67%, 75%, 83%, 86% {
    fill:#000;
  }
  0%, 6%, 10%, 18%, 22%, 38%, 50%, 61%, 66%, 73%, 82%, 84%, 95% {
    fill:#393900;
  }
}

@keyframes blinkon {
  0% {
    filter:drop-shadow(0 0 0 #191a00);
  }
  100% {
    filter:drop-shadow(0px 0px 10px #dce810);
  }
}

@keyframes switchon {
  0% { fill:#666; }
  100% { fill:#FFF; border-color:#FFF }
}

@keyframes switchon-ray {
  0% { fill:#000 }
  100% { fill:#e1ed00 }
}

@keyframes finalblink {
  0%, 30%, 80% { opacity:1 }
  25%, 75% { opacity:0.5 }
}

@keyframes stable {
  0% { opacity:0.5 }
  100% { opacity:1 }
}
              
            
!

JS

              
                var fo4 = new Audio("https://cdn.rawgit.com/ManzDev/cursos-assets/gh-pages/js/fo4.mp3");
var pulse = new Audio("https://cdn.rawgit.com/ManzDev/cursos-assets/gh-pages/js/pulse.mp3");

fo4.play();

setTimeout(function() {
  pulse.play();
}, 16000)

              
            
!
999px

Console