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>
  <script src="//www.polymer-project.org/components/platform/platform.js"></script>
  <link rel="import" href="//www.polymer-project.org/components/polymer/polymer.html">  
  
  <style>
    body {
      font-family: sans-serif;
    }
    .item { 
      width: 25%; 
      border: 1px solid lightblue;
      padding: 16px;
    }
    .item.w2 {
      width: 50%; 
    }
  </style>
  
</head>
<body fullbleed unresolved>
 
  <packery-element>
    <div class="item">Content</div>
    <div class="item w2">...Content</div>
    <div class="item">Content...</div>
  </packery-element>
  <!-- suggest putting this into packery-element.html -->
  <script src="http://packery.metafizzy.co/packery.pkgd.js"></script>
  <polymer-element name="packery-element" block>
    <script>
      Polymer('packery-element', {
        domReady: function() {
          this.packery = new Packery(this, {
            // options
            itemSelector: '*',
            gutter: 10
          });
        }
      });
    </script>
  </polymer-element>
  <!-- -->
  
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
sjmilespro
0viewers