cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


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.

              <section class="action">
  <div class="load center">
    <p>Load It</p>
    <div class="loader"></div>

<article class="content"></article>
              @import url(https://fonts.googleapis.com/css?family=Ubuntu:400,300);

 background-color: rgb(45, 45, 45);
 font-family: 'Ubuntu', sans-serif;
 color: white;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;

  border: 4px solid rgb(225, 59, 59);
  font-size: 1.2em;
  cursor: pointer;
  width: auto;
  height: auto;
  padding: .8em 1.5em;
  border-radius: 0;
  transition: all 500ms;
    padding: .9em 1.75em;
    background-color: rgba(225, 59, 59, 0.18);

  width: 155px;
  height: 3px;
  padding: 0;
  background-color: rgba(225, 59, 59, .7);
  border: none;
      width: 20px;
      height: 3px;
      background-image: linear-gradient(to right, rgba(250, 250, 250, .3), #fff);
      animation: slide infinite .75s linear;
       padding: 0;
       background-color: rgba(225, 59, 59, .7);

@keyframes slide {
    margin-left: -20px;
    margin-left: 135px;

  @extend .center;
    text-align: center;
    font-size: 1.6em;
    @extend .load;
    text-align: center;
    margin-top: 1em;
  function loadMe(){
    $.get( 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/242749/loadMe.html', function(data) {
  //kicks things off
  $('.action').on('click', '.load', function(){
    //starts load animation
    //sim load time and run ajax function
    setTimeout(loadMe, 3000);
  //restarts demo
  $('.content').on('click', '.reset', function(){
      .html('Load It');
Loading ..................