Template:Masonry

Template page
Revision as of 20:30, 23 March 2024 by Timothy (talk | contribs) (Created page with "<html> <head> <script> let grids = [...document.querySelectorAll('.masonry-group')]; if (grids.length && getComputedStyle(grids[0]).gridTemplateRows !== 'masonry') { grids = grids.map(grid => ({ _el: grid, gap: parseFloat(getComputedStyle(grid).gridRowGap), items: [...grid.childNodes].filter(c => c.nodeType === 1 && +getComputedStyle(c).gridColumnEnd !== -1), ncol: 0 })); function layout() { grids.forEach(grid => { /* get the post relayou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)