Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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 id="u_0_v">
  <h1>Skeleton Shimmer</h1>
  <p>Light UI 1</p>
  <div class="lightui1">
      <div class="lightui1-shimmer">
        <div class="_2iwr"></div>
        <div class="_2iws"></div>
        <div class="_2iwt"></div>
        <div class="_2iwu"></div>
        <div class="_2iwv"></div>
        <div class="_2iww"></div>
        <div class="_2iwx"></div>
        <div class="_2iwy"></div>
        <div class="_2iwz"></div>
        <div class="_2iw-"></div>
        <div class="_2iw_"></div>
        <div class="_2ix0"></div>
      </div>
  </div>

  
  <br>
  <p>Light UI 2 vB</p>
  <div class="lightui2">
      <div class="lightui2b-shimmer">
        <div class="_2iwr"></div>
        <div class="_2iws"></div>
        <div class="_2iwt"></div>
        <div class="_2iwu"></div>
        <div class="_2iwv"></div>
        <div class="_2iww"></div>
        <div class="_2iwx"></div>
        <div class="_2iwy"></div>
        <div class="_2iwz"></div>
        <div class="_2iw-"></div>
        <div class="_2iw_"></div>
        <div class="_2ix0"></div>
      </div>
    </div>
    
  <br>
  <p>Dark UI 1</p>
  <div class="darkui1">
      <div class="darkui1-shimmer">
        <div class="_2iwr"></div>
        <div class="_2iws"></div>
        <div class="_2iwt"></div>
        <div class="_2iwu"></div>
        <div class="_2iwv"></div>
        <div class="_2iww"></div>
        <div class="_2iwx"></div>
        <div class="_2iwy"></div>
        <div class="_2iwz"></div>
        <div class="_2iw-"></div>
        <div class="_2iw_"></div>
        <div class="_2ix0"></div>
      </div>
    </div>
  
  <br>
  <p>Dark UI 2</p>
  <div class="darkui2">
      <div class="darkui2-shimmer">
        <div class="_2iwr"></div>
        <div class="_2iws"></div>
        <div class="_2iwt"></div>
        <div class="_2iwu"></div>
        <div class="_2iwv"></div>
        <div class="_2iww"></div>
        <div class="_2iwx"></div>
        <div class="_2iwy"></div>
        <div class="_2iwz"></div>
        <div class="_2iw-"></div>
        <div class="_2iw_"></div>
        <div class="_2ix0"></div>
      </div>
    </div>
  
<br>
  <p>High Contrast 1</p>
  <div class="highcontrast1">
      <div class="highcontrast1-shimmer">
        <div class="_2iwr"></div>
        <div class="_2iws"></div>
        <div class="_2iwt"></div>
        <div class="_2iwu"></div>
        <div class="_2iwv"></div>
        <div class="_2iww"></div>
        <div class="_2iwx"></div>
        <div class="_2iwy"></div>
        <div class="_2iwz"></div>
        <div class="_2iw-"></div>
        <div class="_2iw_"></div>
        <div class="_2ix0"></div>
      </div>
    </div>
  
  
  <br>
  <p>High Contrast 2</p>
  <div class="highcontrast2">
      <div class="highcontrast2-shimmer">
        <div class="_2iwr"></div>
        <div class="_2iws"></div>
        <div class="_2iwt"></div>
        <div class="_2iwu"></div>
        <div class="_2iwv"></div>
        <div class="_2iww"></div>
        <div class="_2iwx"></div>
        <div class="_2iwy"></div>
        <div class="_2iwz"></div>
        <div class="_2iw-"></div>
        <div class="_2iw_"></div>
        <div class="_2ix0"></div>
      </div>
    </div>
  
  
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);

body {
      background-color: #ffffff;
  font-family: 'Open Sans';
  font-size: 12px;
  font-color: #737373;
}

h1 {
  text-align: center;
  font-weight: 300;
  color: #69b5dd;
  padding-bottom: 60px;
  padding-top: 50px;
}

#u_0_v {
  width: 500px;
  margin: 0 auto;
}

.lightui1{border:1px solid;border-color:#bdbdbd;border-radius:2px;
padding: 20px;
background: #ffffff;}

.lightui1-shimmer {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
  background: #d8d8d8;
  background-image: linear-gradient(to right, #d8d8d8 0%, #bdbdbd 20%, #d8d8d8 40%, #d8d8d8 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  height: 104px;
  position: relative
}

.lightui1-shimmer div {
  background: #ffffff;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0
}


.lightui1b-shimmer {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
  background: #f0f0f0;
  background-image: linear-gradient(to right, #f0f0f0 0%, #d8d8d8 20%, #f0f0f0 40%, #f0f0f0 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  height: 104px;
  position: relative
}

.lightui1b-shimmer div {
  background: #ffffff;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0
}


.lightui2{border:1px solid;border-color:#bdbdbd;border-radius:2px;
padding: 20px;
background: #f0f0f0;}

.lightui2-shimmer {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
  background: #d8d8d8;
  background-image: linear-gradient(to right, #d8d8d8 0%, #bdbdbd 20%, #d8d8d8 40%, #d8d8d8 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  height: 104px;
  position: relative
}

.lightui2-shimmer div {
  background: #f0f0f0;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0
}


.lightui2b-shimmer {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
  background: #bdbdbd;
  background-image: linear-gradient(to right, #bdbdbd 0%, #999999 20%, #bdbdbd 40%, #bdbdbd 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  height: 104px;
  position: relative
}

.lightui2b-shimmer div {
  background: #f0f0f0;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0
}



.darkui1{border:1px solid;border-color:#656871;border-radius:2px;
padding: 20px;
background: #414247;}

.darkui1-shimmer {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
  background: #656871;
  background-image: linear-gradient(to right, #656871 0%, #888b94 20%, #656871 40%, #656871 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  height: 104px;
  position: relative
}

.darkui1-shimmer div {
  background: #414247;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0
}


.darkui2{border:1px solid;border-color:#656871;border-radius:2px;
padding: 20px;
background: #313236;}

.darkui2-shimmer {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
  background: #50535a;
  background-image: linear-gradient(to right, #50535a 0%, #656871 20%, #50535a 40%, #50535a 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  height: 104px;
  position: relative
}

.darkui2-shimmer div {
  background: #313236;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0
}


.highcontrast1{border:1px solid;border-color:#5c5c5c;border-radius:2px;
padding: 20px;
background: #d8d8d8;}

.highcontrast1-shimmer {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
  background: #999999;
  background-image: linear-gradient(to right, #999999 0%, #737373 20%, #999999 40%, #999999 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  height: 104px;
  position: relative
}

.highcontrast1-shimmer div {
  background: #d8d8d8;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0
}


.highcontrast2{border:1px solid;border-color:#5c5c5c;border-radius:2px;
padding: 20px;
background: #bdbdbd;}

.highcontrast2-shimmer {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
  background: #737373;
  background-image: linear-gradient(to right, #737373 0%, #454545 20%, #737373 40%, #737373 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  height: 104px;
  position: relative
}

.highcontrast2-shimmer div {
  background: #bdbdbd;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0
}



._2iwo {
  height: 200px;
  padding: 12px
}

.__z8 {
  height: 150px;
  padding: 12px
}

div._2iwr {
  height: 40px;
  left: 40px;
  right: auto;
  top: 0;
  width: 8px;
}

div._2iws {
  height: 8px;
  left: 48px;
  top: 0
}

div._2iwt {
  left: 136px;
  top: 8px
}

div._2iwu {
  height: 12px;
  left: 48px;
  top: 14px
}

div._2iwv {
  left: 100px;
  top: 26px
}

div._2iww {
  height: 10px;
  left: 48px;
  top: 32px
}

div._2iwx {
  height: 20px;
  top: 40px
}

div._2iwy {
  left: 410px;
  top: 60px
}

div._2iwz {
  height: 13px;
  top: 66px
}

div._2iw- {
  left: 440px;
  top: 79px
}

div._2iw_ {
  height: 13px;
  top: 85px
}

div._2ix0 {
  left: 178px;
  top: 98px
}

@-webkit-keyframes placeHolderShimmer {
  0% {
    background-position: -468px 0
  }
  100% {
    background-position: 468px 0
  }
}

@-webkit-keyframes prideShimmer {
  from {
    background-position: top left
  }
  to {
    background-position: top right
  }
}
._4-u5 {
  background-color: #ffffff
}

._4-u7 {
  background-color: #ffffff
}

._57d8 {
  background-color: #ffffff
}

._4-u8 {
  background-color: #ffffff
}
              
            
!

JS

              
                
              
            
!
999px

Console