Converting PX to REMs with a Simple Mixin

One of the first challenges you face when working with a designer is fonts. Designers are typically working with a fixed unit such as pixels, and we developers are typically working in EMs or REMs. So how do we handle the conversion?


@code didn’t accidentally overwrite the file, saved with no errors multiple times…tab over to the browser…come back…old JS code…

@code that’s a couple of hours of work that is gone…no reason…nothing I did wrong…just fucking gone

@code just reverted a file I was in to something old. I’ve been saving w/ no problem, but it seems to have “forgotten” all those saves

@rdohms It’s really a question of tooling though. Will sketch, photoshop vscode sublime and everything else work?

@rdohms Depends on the kind of dev you’re talking about. No reason for a web dev to be worried if this rumor pans out.

Finally wrapped my head around how to record a multi-end podcast and sync all the voice tracks. Turns out to be stupid simple ?

holy cow! PostCSS MQPacker cut a Sass generated stylesheet from 4MB to 900k by just combining media queries