CodePen Blog

This is where we post announcements, tips and tricks, new and updated features, fun roundups, new podcast episodes, and more. There's an RSS feed.
🎧 Podcast

407: Our Own CDN

Robert and Chris jump on to talk about our little CDN project. Maybe that’s not the right term, but we struggled with naming it. Truth be told, it’s the /public/ folder in our monorepo, where the purpose is getting files to the world wide internet at URLs that anyone can access. Our favicon is a […]

Read More of the article "407: Our Own CDN"
Chris Coyier
Co-Founder
🎧 Podcast

405: Elasticsearch → Postgres Search

Alex & Chris get into a fairly recent technological change at CodePen where we ditched our Elasticsearch implementation for just using our own Postgres database for search. Sometimes choices like this are more about team expertise, dev environment practicalities, and complexity tradeoffs. We found this change to be much better for us, which matters! For […]

Read More of the article "405: Elasticsearch → Postgres Search"
Chris Coyier
Co-Founder
📝 Blog Post

Chris’ Corner: Browser Wars Micro Edition

Ages ago, Firefox shipped “masonry layout” where you simply grid-template-rows: masonry; instead of defining specific rows in a grid or letting them auto-create. It wasn’t terribly powerful but it did the trick for a lot of use cases. There has been renewed interest in this the past year or so, where Google and Apple have […]

Read More of the article "Chris’ Corner: Browser Wars Micro Edition"
Chris Coyier
Co-Founder
🎧 Podcast

404: Preventing Infinite Loops from Crashing the Browser

Stephen and Chris hop on to talk about how we’re saving everyone from crashed browser tabs in CodePen’s 2.0 editor. One simple: Executing JavaScript can cause a browser tab to entirely lock up, preventing you from doing anything, like potentially saving your work. It can even crash other same-domain tabs. But not on our watch! […]

Read More of the article "404: Preventing Infinite Loops from Crashing the Browser"
Chris Coyier
Co-Founder