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.

            
              <html>
<head>
    <title>Featured List</title>
    
    <meta http-equiv="x-ua-compatible" content="IE=10"/>
    
</head>

<body>

<div id="canvas">
    
    <h2>Featured Lists</h2>
    <div id="lists">
        <ul class="list">
            <div id="title">Hot days, cool reads</div>
            <li class="first"><img src="http://mamjed.com/wp-content/uploads/2015/10/wolitzer.png"></li>
            <li class="second"><img src="http://mamjed.com/wp-content/uploads/2015/10/summers.png"></li>
            <li class="third"><img src="http://mamjed.com/wp-content/uploads/2015/10/ladies.png"></li>
            <span class="clearfix"></span>
        </ul>
        
    </div>
    
</div>


</body>
</html>

            
          
!
            
                *{
    margin: 0px;
    padding: 0px;
  }
  
  .clearfix{
    clear: both;
    display: block;
  }
  
  html{
    background-color: #eee;
    position: relative;
    min-width: 570px;
  }
  
  #canvas{
    background-color: #252525;
    padding: 50px 120px;
  }
  
  h2{
    color: #fff;
    font: 100 18pt/21.6pt "Segoe UI", Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 25px;
  }
  
  #title{
    font: 300 16pt/22pt "Segoe UI", Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
    color: #FFF;
    height: 20px;
    width: 230px;
    padding: 0 10px 10px;
    background-color: #209fe6;
    position: absolute;
    bottom: 20px;
    left: -10px;
    z-index: 5;
  }
  
  ul.list{
    list-style: none;
    position: relative;
    max-width: 465px;
  }
  
  ul.list li{
    position: relative;
    float: left;
    height: 155px;
    max-width: 155px;
    box-shadow: 2px 0 5px rgba(0,0,0, .3);
    margin-left: -30px;
    display: inline-block;
    transition: all .5s ease-out;
    cursor: pointer;
  }
  
   ul.list li.first{
    z-index: 3;
    margin-left: 0;
   }
   
   ul.list li.second{
    z-index: 2;
   }
   
   ul.list li.third{
    z-index: 1;
   }
   
   ul.list:hover li{
    margin-left: 0px;
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 2px 0 3px rgba(0,0,0, .1);
   }
            
          
!
999px
Loading ..................

Console