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

              
                <div class="container">
<svg class="text-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 219.95 95.46">
  <g class="primary__group">
    <path class="primary__letter" d="M10.27 8.92h-7A3.26 3.26 0 0 1 0 5.66V3.51A3.26 3.26 0 0 1 3.26.25h30.4a3.26 3.26 0 0 1 3.26 3.26v2.15a3.26 3.26 0 0 1-3.26 3.26h-6.94a3.26 3.26 0 0 0-3.26 3.26v31.1a3.26 3.26 0 0 1-3.26 3.26h-3.41a3.26 3.26 0 0 1-3.26-3.26v-31.1a3.26 3.26 0 0 0-3.26-3.26z"/>
    <path class="primary__letter" d="M63 1.45c11.78 0 20.36 9.34 20.36 22.38S74.78 46.2 63 46.2s-20.31-9.34-20.31-22.37S51.27 1.45 63 1.45zm0 8.17c-7.18 0-11.79 6.1-11.79 14.21S55.82 38 63 38s11.84-6.16 11.84-14.2S70.17 9.62 63 9.62z"/>
    <path class="primary__letter" d="M128 46.65l-2.24.84a3.77 3.77 0 0 1-4.84-2.2l-3.74-10H97.89a3.77 3.77 0 0 1-3.76-3.76v-2.37a3.78 3.78 0 0 1 3.76-3.77h15.58l-7.3-19.47a3.78 3.78 0 0 1 2.2-4.84l2.24-.84a3.77 3.77 0 0 1 4.85 2.2l14.76 39.37a3.76 3.76 0 0 1-2.22 4.84z"/>
    <path class="primary__letter" d="M140.25 35.46a3.86 3.86 0 0 1 5.36-.87 19.44 19.44 0 0 0 11.2 3.5c5.2 0 7.73-2.47 7.73-5 0-3.33-3.86-4.46-9-5.67-7.26-1.66-16.54-3.66-16.54-13.59 0-7.4 6.4-13.4 16.86-13.4a26.39 26.39 0 0 1 13.46 3.34 4.32 4.32 0 0 1 1.21 6.36 4.36 4.36 0 0 1-5.65 1.18 19.36 19.36 0 0 0-9.69-2.61c-4.26 0-6.53 1.86-6.53 4.53 0 3 3.73 3.93 8.87 5.13 7.33 1.67 16.66 3.87 16.66 13.73 0 8.13-5.8 14.26-17.8 14.26a27.57 27.57 0 0 1-14.81-3.84 4.93 4.93 0 0 1-1.28-7z"/>
    <path class="primary__letter" d="M193.3 9.1h-7a3.26 3.26 0 0 1-3.3-3.26V3.69a3.26 3.26 0 0 1 3.29-3.26h30.4A3.26 3.26 0 0 1 220 3.69v2.15a3.26 3.26 0 0 1-3.26 3.26h-6.94a3.26 3.26 0 0 0-3.26 3.27v31.09a3.26 3.26 0 0 1-3.26 3.26h-3.41a3.26 3.26 0 0 1-3.26-3.26V12.37a3.26 3.26 0 0 0-3.31-3.27z"/>
  </g>
</svg>
</div>
              
            
!

CSS

              
                body {
  margin: 0;
}
.container {
  display: grid;
  height: 100vh;
  margin: 0;
  place-items: center center;
}
.text-icon {
  height: 10em;
}
.primary__group {
  transform: translateY(25%);
}
.primary__letter {
  opacity: 0;
  
  &:nth-child(1) {
    animation: fadeIn 2s 0.5s forwards;
  }
  
  &:nth-child(2) {
    animation: fadeIn 2s 0.75s forwards;
  }
  
  &:nth-child(3) {
    animation: fadeIn 2s 1s forwards;
  }
  
   &:nth-child(4) {
    animation: fadeIn 2s 1.25s forwards;
  }
  
   &:nth-child(5) {
    animation: fadeIn 2s 1.5s forwards;
  }
  
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  50% {
    transform: translateY(-25%);
  }
  100% {
    opacity: 1;
    transform: translateY(0); // For some reason this is necessary to prevent weird jitteryness?
  }
}

// .primary__letter {
// @for $i from 1 through 3 {
//   &:nth-child(#{$i}) {
//     animation: fadeIn 2s forwards;
//   }
// } 
// }
              
            
!

JS

              
                
              
            
!
999px

Console