How to Calculate Unitless Line-Heights with Sass

A couple of weeks ago I was working on a project and I realized the designer had wanted a specific `line-height` for a few different headlines. So how do we go from a pixel value (like 22px) to a unitless value (like 1.45)? It's actually pretty simple with Sass.


@ianlandsman I expect it too. This just feels different somehow. More dirty? Idk why just feels worse.

@ianlandsman I love how people are like, "well it's free..." I didn't realize free means "the right to help one company game another"

In my excessive celebration I woke he baby.

No one move. Stay where you are. If you're pooping, stay there.

The @NYRangers must stay in attack mode. They need to remember what happened to them in Game 2. Can't repeat history. #NYR

Google is now discontinuing the two messaging apps of theirs I use in hopes of getting me to adopt three of the six remaining ones

@HLundqvist30 has some back tape on the butt of his stick. I never noticed this but tonight it's making me crap my pants.

@NYRangers playoff hockey…the only time of year I contemplate wearing my kids diapers.

@nyr351 I will always believe that they get told to do whatever is possible to extend a series. It's bullshit