Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  
  <div id="wrapper">
    
<div class="widget widgetPhotoGallery widgetPhotoGalleryNormal">
    <div class="widgetTitle">
        <h2>Gallery</h2>          
    </div>                                    
    <div class="widgetContent">                  
        <ul class="photogallery clearfix">
            <li class="photo photoP1"></li>                                         
            <li class="photo photoP2"></li>                                         
            <li class="photo photoP1"></li>                                         
        </ul>
                                
    </div>
</div>
    
  </div>
  
</body>
</html>
 
/* Clearfix */
.clearfix:before, .clearfix:after {content: " ";display: table;}
.clearfix:after {clear: both;}
.clearfix {*zoom: 1;}
#wrapper {
  width: 320px;
}
.widgetPhotoGallery .widgetContent {
    text-align: center;
}
  .widgetPhotoGallery .photogallery{
      background-color: lime;
      list-style: none;
      padding:0 36px;
      margin: 0 auto;
      text-align: left;
  }
  .widgetPhotoGallery li.photo{
      background-color: blue;
      padding: 0;
      margin: 0;
      position: relative;
      display: inline-block;
  }
.widgetPhotoGalleryNormal li.photo{
    width: 118px;
    min-height: 118px;
    max-height: 118px;
    margin: 2px;
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers