2 hours ago · Tech · 0 comments

CSS Grid Lanes has started to ship in browsers. It’s in Safari and behind a flag in Chrome and Edge. It enables masonry layouts, where items get packed together in the most efficient way possible. Unsurprisingly, I’m a fan of a layout tool where the browser does all the hard work. It very much aligns with the idea of declarative design; you specify the boundary conditions, and then browser does the maths and heavy lifting. There’s a handy website called The Field Guide to Grid Lanes where you can play around with possibilities. At the most recent CSS Day, Patrick Brosset gave a great talk showing what you could do with Grid Lanes. I immediately started playing around with it, and I spotted what I think could be a useful pattern… Over on The Session, I added a little enhancement to the events and sessions listings recently. I make a call to the Google Places API to see if I can find a match for the venue, and if I do, pull in some photos. Sidenote: right now there’s a major issue with…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.