I had a nice surprise while going about my business on Codepen today – another of my pens was featured! Yay!
This time it was a simple tool I designed which aims to help calculate and understand px to em conversion for CSS. I designed it while reading a really concise piece on Medium.com regarding designing scalable components called “Sizing (Web) components by adding a Trojan horse into your CSS rules.” by Simurai. Give it a read, it’s a very good piece on a simple, but powerful idea.
Here it is!
See the Pen Simple PX to EMS Converter by auginator (@auginator) on CodePen