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.

            
              
<div class="thumb">
  <a href="#" class="link">
    <img src="https://dl.dropbox.com/u/97962632/RL04_WinterOak.jpg" class="image animate">
    <span class="blend animate">
      <strong class="head">Lorem ipsum dolor sit amet</strong>
      <span class="text">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce blandit, nulla id ullamcorper consequat, urna massa pellentesque lectus, et lobortis felis tellus at lorem. Curabitur sed arcu placerat nisl mollis facilisis. Nam tempus massa elit, ut porta mi. Aenean id tempor diam. Sed nec nibh congue lacus suscipit feugiat. Integer in augue nisi, quis tristique erat. Vivamus condimentum libero in risus tincidunt tristique. Pellentesque condimentum scelerisque ipsum at feugiat. Phasellus fermentum aliquam eros in tincidunt.
      </span>
    </span>
  </a>
</div>

<div class="thumb">
  <a href="#" class="link">
    <img src="https://dl.dropbox.com/u/97962632/some.jpg" class="image animate">
    <span class="blend animate">
      <strong class="head">Lorem ipsum dolor sit amet</strong>
      <span class="text">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce blandit, nulla id ullamcorper consequat, urna massa pellentesque lectus, et lobortis felis tellus at lorem. Curabitur sed arcu placerat nisl mollis facilisis. Nam tempus massa elit, ut porta mi. Aenean id tempor diam. Sed nec nibh congue lacus suscipit feugiat. Integer in augue nisi, quis tristique erat. Vivamus condimentum libero in risus tincidunt tristique. Pellentesque condimentum scelerisque ipsum at feugiat. Phasellus fermentum aliquam eros in tincidunt.
      </span>
    </span>
  </a>
</div>

<div class="thumb">
  <a href="#" class="link">
    <img src="https://dl.dropbox.com/u/97962632/Bisam.jpg" class="image animate">
    <span class="blend animate">
      <strong class="head">Lorem ipsum dolor sit amet</strong>
      <span class="text">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce blandit, nulla id ullamcorper consequat, urna massa pellentesque lectus, et lobortis felis tellus at lorem. Curabitur sed arcu placerat nisl mollis facilisis. Nam tempus massa elit, ut porta mi. Aenean id tempor diam. Sed nec nibh congue lacus suscipit feugiat. Integer in augue nisi, quis tristique erat. Vivamus condimentum libero in risus tincidunt tristique. Pellentesque condimentum scelerisque ipsum at feugiat. Phasellus fermentum aliquam eros in tincidunt.
      </span>
    </span>
  </a>
</div>

<div class="thumb">
  <a href="#" class="link">
    <img src="https://dl.dropbox.com/u/97962632/RL04_WinterOak.jpg" class="image animate">
    <span class="blend animate">
      <strong class="head">Lorem ipsum dolor sit amet</strong>
      <span class="text">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce blandit, nulla id ullamcorper consequat, urna massa pellentesque lectus, et lobortis felis tellus at lorem. Curabitur sed arcu placerat nisl mollis facilisis. Nam tempus massa elit, ut porta mi. Aenean id tempor diam. Sed nec nibh congue lacus suscipit feugiat. Integer in augue nisi, quis tristique erat. Vivamus condimentum libero in risus tincidunt tristique. Pellentesque condimentum scelerisque ipsum at feugiat. Phasellus fermentum aliquam eros in tincidunt.
      </span>
    </span>
  </a>
</div>

<div class="thumb">
  <a href="#" class="link">
    <img src="https://dl.dropbox.com/u/97962632/Bisam.jpg" class="image animate">
    <span class="blend animate">
      <strong class="head">Lorem ipsum dolor sit amet</strong>
      <span class="text">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce blandit, nulla id ullamcorper consequat, urna massa pellentesque lectus, et lobortis felis tellus at lorem. Curabitur sed arcu placerat nisl mollis facilisis. Nam tempus massa elit, ut porta mi. Aenean id tempor diam. Sed nec nibh congue lacus suscipit feugiat. Integer in augue nisi, quis tristique erat. Vivamus condimentum libero in risus tincidunt tristique. Pellentesque condimentum scelerisque ipsum at feugiat. Phasellus fermentum aliquam eros in tincidunt.
      </span>
    </span>
  </a>
</div>

<div class="thumb">
  <a href="#" class="link">
    <img src="https://dl.dropbox.com/u/97962632/some.jpg" class="image animate">
    <span class="blend animate">
      <strong class="head">Lorem ipsum dolor sit amet</strong>
      <span class="text">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce blandit, nulla id ullamcorper consequat, urna massa pellentesque lectus, et lobortis felis tellus at lorem. Curabitur sed arcu placerat nisl mollis facilisis. Nam tempus massa elit, ut porta mi. Aenean id tempor diam. Sed nec nibh congue lacus suscipit feugiat. Integer in augue nisi, quis tristique erat. Vivamus condimentum libero in risus tincidunt tristique. Pellentesque condimentum scelerisque ipsum at feugiat. Phasellus fermentum aliquam eros in tincidunt.
      </span>
    </span>
  </a>
</div>


            
          
!
            
              .animate { transition: all .5s ease-in-out; }

.thumb {
  float: left;
  height: auto;
  margin: 0 10px 10px 0;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  font: 1em/1.2em Segoe UI, sans-serif;
}
.thumb .link {
  display: block;
  position: relative;
  overflow: hidden;  
  width: 320px; height: 180px;
}
.thumb .image {
  position: absolute;
  width: 100%;
}
.thumb .blend {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  font-weight: normal;
  background: rgba(91, 160, 239,0.8);
  color: #fff;
  transition-duration: .4s;
}
.thumb .head {
  height: 1.2em;
  padding: 10px;
  margin: 0;
  display: block;
  font-weight: normal;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.3);
}
.thumb .text {
  display: none;
  position: relative;
  overflow: hidden;
  height: 8.5em; 
  padding: .5em 10px;
  font-size: .7em;
}
.thumb .link:hover .image {
  left: -125%; top: -125%;
  width: 300%;
}
.thumb .link:hover .blend {
  height: 100%;
}
.thumb .link:hover .text {
  display: block;
}



            
          
!
999px
Loading ..................

Console