Fork me on GitHub

<juicy-tile-grid>

Masonry-like Custom Element for sortable tiles that packs efficiently without changing HTML structure (changes CSS only).

Item 0, 100% x 100px, priority 1, nested
Item3, 400px x 100px , priority 0.6
Item 4, 100% x 25% , priority 0, nested twice