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.
📝 Blog Post

Updating Linting Rules

We were pretty stoked to get HTML linting back into the editor as the “Analyze HTML” command, to join its pals “Analyze CSS” and “Analyze JS”. We started actually using them a lot more. Then we got annoyed. The default settings for the analyzers we were using were a little more opinionated than we liked. […]

Read More of the article "Updating Linting Rules"
Chris Coyier
Co-Founder
🎧 Podcast

099: Testing

Show Description The whole point of testing in development is so you don’t write some new code that ends up affecting other code, causing it to fail or otherwise do something unexpected. You write some code, then you write a test to ensure the code you write does what you expect it to (you might […]

Read More of the article "099: Testing"
Chris Coyier
Co-Founder
📝 Blog Post

Blind Accessibility Testers Society Guide to CodePen

Over on the Blind Accessibility Testers Society (Blind Bats!), Tim Harshbarger posted a great guide on how you can do many of the main activities on CodePen, like creating and editing Pens, changing their settings, commenting, sharing, and more. Not only is this guide useful, but it gave us some great feedback on things we […]

Read More of the article "Blind Accessibility Testers Society Guide to CodePen"
Chris Coyier
Co-Founder
🎧 Podcast

098: Animation

Show Description Of course there are loads and loads of animation examples on CodePen as Pens, but animation is also in use in the CodePen UI itself. How do we think about that? Why do we use it? When is it useful? How do we approach it with code? What’s the weirdest @keyframes in our […]

Read More of the article "098: Animation"
Chris Coyier
Co-Founder
📝 Blog Post

Chrome/Opera Extension for Atomizer

There is a thing called Atomic CSS. You use shorthand to apply styles directly in HTML. An example from their docs: <div class=”Bgc(#0280ae.5) C(#fff) P(20px)”> Lorem ipsum </div> That will apply these classes: .P\(20px\) { padding: 20px; } .C\(\#fff\) { color: #fff; } .Bgc\(\#0280ae\.5\) { background-color: rgba(2,128,174,.5); } But where do those classes come from? […]

Read More of the article "Chrome/Opera Extension for Atomizer"
Chris Coyier
Co-Founder
📝 Blog Post

Gotta Catch ’em All!

While you’re taking a break from Pokemon Go (or erm…waiting to get on) have some fun with these Pokemon-inspired Pens! “CSS Isometric Pokemon” by Ash See the Pen CSS Isometric Pokemon by Ash (@littleginger) on CodePen. Riley Shaw’s “Gotta catch ’em all!” See the Pen Gotta catch ’em all! by Riley Shaw (@rileyjshaw) on CodePen. […]

Read More of the article "Gotta Catch ’em All!"
📝 Blog Post

Editor Dropdowns

We have a bit of a UI update for you! We’ve added this dropdown to each of the editors, which brings together many of the actions you can perform on an editor and the code it contains. A GIF can do a good job of explaining: The Tidy and View Compiled functionality used to be […]

Read More of the article "Editor Dropdowns"
Chris Coyier
Co-Founder
🎧 Podcast

097: Stock

Show Description All of our hires so far at CodePen have some ownership of the company in the form of stock options. This seems to be the most popular option for companies like ours, but it’s not the only way. We’re joined by our lawyer Alex King who explains the difference between stock options vs. […]

Read More of the article "097: Stock"
Chris Coyier
Co-Founder