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.

            
              <figure>
  <img src="" class="stripe-bg"/>
  <figcaption>
    <h2>This is a Title</h2>
    <a href="#">VIEW MORE</a>
  </figcaption>
</figure>
            
          
!
            
              figure {
  background: #fff;
  width: 300px;
  height: 200px;
  border: 1px solid #fff;
}

.stripe-bg {
  background: repeating-linear-gradient(
  45deg,
  #606dbc,
  #606dbc 10px,
  #465298 10px,
  #465298 20px);
}

figure img {
  width: 300px;
  height: 200px;
  opacity: 1;
  -webkit-transition: opacity 0.35s ease;
  -moz-transition: opacity 0.35s ease;
  -o-transition: opacity 0.35s ease;
  transition: opacity 0.35s ease;
}

figure:hover img {
  opacity: 0.1;
}

figcaption a {
  width: 100%;
  color: #fff;
  background: #606dbc;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  font-family: verdana;
  font-size: 10pt;
}

figcaption {
  width: 100%;
  color: #000;
  text-align: center;
  text-decoration: none;
  font-family: verdana;
  position: relative;
  bottom: 50%;
  opacity: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

figure:hover figcaption, figcaption a {
  bottom: 80%;
  opacity: 1;
}

figure:hover {
  border: 1px solid #606dbc;
}
            
          
!
999px
Loading ..................

Console