CodePen is a playground for the front end web.

Show off your latest creation and get feedback. Build a test case for that pesky bug. Find example design patterns and inspiration for your projects.

Find out more Sign me up

Background by Fabio

Picked Pens

View More Pens

Picked Posts

View More Posts

My CSS Mistakes

For a long time CSS was really confusing to me. I was shocked after every line of code I wrote. Text flowed outside its container, things didn't position themselves like I expected, and elements I...

Picked Collections

View More Collections

192 Pens

SVG Fancy Town

Some of my favorite stuff done with SVG. Either it demonstrates a concept really well, or it does something particularly cool, or it combines things in a way that was...

439 Pens

Loaders and Spinners

Loading animations with JS or CSS

44 Pens

SVG animation with SMIL

<animate attributeName="dontSupport" values="Chrome Opera IE8 IE9 IE10 IE11" dur="ad infinitum"/>

"SVG's SMIL animations (, , etc.) are deprecated and will be...