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

              
                <section class='loader'>
  <div class='loader-center'>
    <div class='chars'>
      <span class='char brace'>{</span>
      <span class='dots'>
        <span class='char dot _dot-1'>.</span>
        <span class='char dot _dot-2'>.</span>
        <span class='char dot _dot-3'>.</span>
      </span>
      <span class='char brace'>}</span>
    </div>
  </div>
  
  
  <article class='author'>
    By <a href='http://www.stramaxon.com' target='_blank'>Deepak Kamat</a> <a href='https://twitter.com/xxxdepy'>@xxxdepy</a>
  </article>
  
  
  <div class="affiliate-container">
  <a href="https://wordpress.com/alp/?aff=17623&cid=1874995" target="_blank" class="wp-overlay-link"></a>
  <div class="wp-icon-circle">
    <span>WP</span>
  </div>
  
  <div class="the-text">
    <span>Get your website built on WordPress.com today!</span>
  </div>
</div>
  
</section>


<a style="opacity: 0.5;position: fixed; bottom: 0; left: 20px; right: 20px;display: block; margin: 20px auto; width: 200px;" href="https://www.buymeacoffee.com/WVxP4ZL3C" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(0,0, 0, 0.5) !important;" ></a>
              
            
!

CSS

              
                
/*

*/

section.loader {
  font-family: Consolas, monaco, monospace;
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  background-color:#232427;
  
  color:#FF893A;
}

section.loader .loader-center {
  width:300px;
  height:100px;
  line-height:100px;
  
  margin:0 auto;
  text-align:center;
  font-size:38px;
  letter-spacing:-6px;
  
  position:absolute;
  top:50%; left:50%;
  margin-left:-150px; margin-top:-50px;
  
}

section.loader .loader-center .chars .dots .char {
  font-size:150%;
  display:inline-block;
}

/* animation starts here */
.dots .dot {
  position:relative;
  top:0; left:0; 
}

.dot._dot-1 {
  animation:dot_1 1s ease-in-out infinite;
  animation-fill-mode: backwards;
  animation-direction: alternate;
}

.dot._dot-2 {
  animation:dot_2 1s ease-in-out infinite;
  animation-fill-mode: backwards;
  animation-direction: alternate;
  animation-delay:1s;
}

.dot._dot-3 {
  animation:dot_3 1s ease-in-out infinite;
  animation-fill-mode: backwards;
  animation-direction: alternate;
  animation-delay:0.5s;
}


@keyframes dot_1 {
  0% {
    top:0;
    left:0;
  }
  
  50% {
    top:30px;
    left:20px;
  }
  
  100% {
    top:0px;
    left:40px;
  }
}


@keyframes dot_2 {
  0% {
    top:0;
    left:0;
  }
  
  50% {
    top:-30px;
    left:20px;
  }
  
  100% {
    top:0px;
    left:40px;
  }
}


@keyframes dot_3 {
  0% {
    top:0;
    left:0;
  }
  
  50% {
    top:-30px;
    left:-40px;
  }
  
  100% {
    top:0px;
    left:-80px;
  }
}





section .author {
  position:fixed;
  top:0; bottom:0;
  left:0px;
  
  font-size:80%;
  transform:rotate(-10deg) translate(50px, 20px);
  
  padding:5px 0;
  text-align:center;
  
  color:#eee;
  opacity:0.8;
}

section .author a {
  color:#78ECB4;
  text-decoration:none;
}

section .author a:hover {
  color:#60D69D;
}





















/*
* Affiliate
*/
.affiliate-container .the-text {
  background-color: rgba(0,0,0,0.5);
}

.affiliate-container {
  opacity: 0.6;
  position: absolute;
  right: -20px;
  top: 0px;
  transform: scale(.8);
  transition: 0.2s all ease-in-out;
  margin-top: 0;
  justify-content: flex-end;
}

.affiliate-container:hover {
  opacity: 0.8;
  transform: scale(1);
}
              
            
!

JS

              
                
              
            
!
999px

Console