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.

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

              
                .media
  .media-row
    .thumbnail
      img(src='http://img3.wikia.nocookie.net/__cb20120618235731/penguinsofmadagascar/images/thumb/6/6b/MadagascarAlex.jpg/1000px-MadagascarAlex.jpg"')
      .overlay
        h2 Alex
        p The Lion
        span.zoom-btn

    .thumbnail
      img(src='http://3boysandadog.com/wp-content/uploads/2012/12/King-Julien-and-Maurice.jpg')
      .overlay
        h2 Julien
        p King of Lemurs
        span.zoom-btn
        
        
    .thumbnail
      img(src='http://img2.wikia.nocookie.net/__cb20140409215638/penguinsofmadagascar/images/thumb/f/f0/Marty-madagascar-23836394-400-300.jpg/1000px-Marty-madagascar-23836394-400-300.jpg')
      .overlay
        h2 Marty
        p Zebra 
        span.zoom-btn        
    .thumbnail
      img(src='http://vignette1.wikia.nocookie.net/dreamworks/images/e/e9/ShifuGreen.jpg/revision/latest?cb=20141231191851')
      .overlay
        h2 Shifu 
        p Master
        span.zoom-btn
        
        
  .media-row  
    .thumbnail
      img(src='http://rocketdock.com/images/screenshots/2_03_09_2006_madagascar-dreamworks-penguin5g.jpg')
      .overlay
        h2 Penguins
        p Carzy forces
        span.zoom-btn
        
    .thumbnail
      img(src='http://img4.wikia.nocookie.net/__cb20120429161157/penguinsofmadagascar/images/thumb/b/b7/Madagascar-dreamworks-gloria4g.jpg/1000px-Madagascar-dreamworks-gloria4g.jpg')
      .overlay
        h2 Gloria
        p Hippopotamus 
        span.zoom-btn
        
    .thumbnail
      img(src='http://spoileralertv.files.wordpress.com/2011/11/melman.jpg')
      .overlay
        h2 Melman
        p The Giraffe 
        span.zoom-btn 
        
    .thumbnail
      img(src='http://newartcolorz.com/images/2014/5/kung-fu-panda-15286-15758-hd-wallpapers.jpg')
      .overlay
        h2 Po
        p Panda
        span.zoom-btn

  .media-row  
    .thumbnail
      img(src='http://vignette2.wikia.nocookie.net/dreamworks/images/3/39/MrPingMain.jpg/revision/latest?cb=20110902234820')
      .overlay
        h2 Ping
        p noodles 
        span.zoom-btn
        
    .thumbnail
      img(src='http://vignette3.wikia.nocookie.net/kungfupanda/images/e/e4/Kung_fu_panda-master-crane.png/revision/latest?cb=20110203011040')
      .overlay
        h2 Crane
        p Master 
        span.zoom-btn
        
    .thumbnail
      img(src='http://vignette2.wikia.nocookie.net/kungfupanda/images/b/b1/Commander_vachir.jpg/revision/latest?cb=20120521185624')
      .overlay
        h2 Raino
        p Black Army 
        span.zoom-btn 
        
    .thumbnail
      img(src='data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxIQEhQUEhQUFhIXFRcWFBcUEhUVFBQZFBUWFhUWFBUYHCggGholHBUWITEhJSkrLi4uFyAzRDUsNygtLisBCgoKDg0OGxAQGzQkHyQ0NDQtLCwsLCw0LywuLCwsMDcuNCwsNCwvLC8sLCwsLCwsLCwsLCwtLCwsLCwsLCwtLP/AABEIALcBFAMBIgACEQEDEQH/xAAcAAEAAgIDAQAAAAAAAAAAAAAABgcEBQIDCAH/xABCEAACAQIEBAQDBAgEBAcAAAABAgADEQQSITEFBkFREyJhcQeBkTJCobEUI1JicoKSwRUzQ9Gi4fDxCBYXNGOywv/EABkBAQADAQEAAAAAAAAAAAAAAAABA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R7YNJxXgOX3Jlh6DObLNl/guJ7A/MSQ8MwVNAMpBPebCeqcOSFtwbEH7g+o/3gcArn7o/qEmkQRkhh5drdh9ROpuDVRuJOItBOSDf4RU7TsTgrnpJpafYGSK0uX26zMo8AtuRN9EEGupcJQTLp4ZV2E7ogHwCfYiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgFW/Ej4W08WxxGF/VVzc1Aq3SoT94qNQx6kb9jKmxXw+4ipy5EPtVA/BrH8J6rnCpSVvtKD7gH84B5/4XwXiVOznwA5QI96huQt7G6qRfU6eskHBeVmprfGV7ByXchrKzuQLEnXqBbroJa9ThVBt6afJbflK0535c4hTWsuHX9Kw9QkhLhatIm/lW+jKBl6g7zCdKfBrCzB947xijwygEpJTcZrVM2llOhIA+9r+XfSO8hUXqmti3BHikLSB/YQm5+Z/+swuGck4vEMr8RzhV2o6lm/jI0Ue1yfST6hgmACpTawAACobADQAADaWhVGLzgSsb2yEqsuxI9jN1wnjTAgMSRMTD8Drv9zKO7afhvN/wzgK0tW8zfhNTM29NwwBHWcoEQQIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAIiIAiIgCIiAf/9k=')
      .overlay
        h2 Tigerss
        p Master
        span.zoom-btn
        
        

              
            
!

CSS

              
                @import "compass";

*:after, *:before, *{
  @include box-sizing(border-box);
  font-family:arial;
}
body{
  background: #1D1F20;
}
.media-row{
  display: table-row;
}
.thumbnail{
  display: table-cell;
  background: #fff;
  border:1px solid #333;
  overflow: hidden;
  position: relative;
  height: 150px;
  width: 25%;
  img{
   width: 100%;
    
    position: relative;
    @include transition(.5s);
  }
  
  .overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0,0,0,.7);
    @include transition(.3s);
    z-index: 4;
    left: 0;
    top: 100%;
    text-align: center;
    color: #fff;
    .zoom-btn{
      opacity: 0;
      top: 150px;
      @include transition(.4s .2s);
    }
    h2{
      position: relative;
      margin: 0 auto 15px;
      @include transition(.3s .25s);
    }
    
  }
  &.open{
    border-color:#222;
    pointer-events: none;
    
    &:after{
      content: '';
      position: absolute;
      left: 50%;
      @include translateX(-50%);
      z-index: 5;
      bottom: 0;
      border:15px solid transparent;
      border-bottom-color: #222;
    }
  }
  
  &:hover, &.open{
    img{
      @include transform(rotate(-45deg) scale(2));
    }
    .overlay{
      top: 0;
      h2{
        margin-top: 20%;
      }
      .zoom-btn{
        top: 0;
        opacity: 1;
      }
    }
  }
  
}

.zoom-btn{
  position: relative;
  width: 15px;
  height: 15px;
  display: inline-block;
  border:2px solid;
  color: #f00;
  @include border-radius(100%);
  @include rotate(-45deg);
  cursor: pointer;
  &:before{
    content: '+';
    position: absolute;
    left: 2px;
    top: -4px;
    @include rotate(-45deg);
  }
  &:after{
    content: '';
    position: absolute;
    width: 2px;
    height: 10px;
    background: #f00;
    top: 100%;
    left: 0;right: 0;
    margin: auto;
  }
}
.media-view{
 position: relative;
  background: #222;
  padding: 10px;
  @include clearfix;
  width: 100%;
  display: none;
  
  .media-thump{
    width: 70%;
    float: left;
    
    img{
      
      width: 100%;
      max-width: 640px;
      margin: auto;
      display: block;
    }
    
  }
  .media-info{
    float: left;
    width: 30%;
    padding: 10px;
    color: #fff;
    h2{
      margin: 15px auto;
    }
    p{
      color: #bbb;
    }
  }
  
  .close{
    position: absolute;
    right: 10px;
    top: 5px;
    font-weight: 200;
    color: #fff;
    font-size: 24px;
    opacity: .6;
    cursor: pointer;
    z-index: 4;
  }
}

              
            
!

JS

              
                $('.zoom-btn').click(function(){
  var image = $(this).closest('.thumbnail').find('img').attr('src'); 
  var title = $(this).closest('.overlay').find('h2').text();
  var details = ' Lorem ipsum dolor sit amet, consectetur adipisicing elit. Corporis amet eum quod labore deserunt, adipisci.';
  
  var fullView = '<div class="media-view"><div class="media-thump"><img src="'+ image +'"/></div><div class="media-info"> <h2>'+ title +'</h2> <p>'+ details +'</p></div> <span class="close">&times</span></div>';
  

  
   $('.thumbnail').removeClass('open');
  
  if($(this).closest('.media-row').next('.media-view').length != 0) { 
      $('.media-thump img').attr('src' , image);
      $('.media-info h2').text(title);
  }
  else if (! $(this).closest('.thumbnail').hasClass('open')) { 
     $('.media-view').remove();
      $(this).closest('.media-row').after(fullView);
      $('.media-view').slideDown();
      $(this).closest('.thumbnail').addClass('open');
  }
  
});

$(".media").on("click", ".close", function() {
  $(this).closest('.media-view').slideUp();
  $('.thumbnail').removeClass('open');
  
  setTimeout(function(){
    $('.media-view').remove()
  }, 2000);
});
              
            
!
999px

Console