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.


Good start for #NYR, a lot of zone time. Then Radulov snows Lundqvist, McDonagh in his face. Then Pacioretty and Vesey *fight*. Whoa.

As a thank you to her his breakfast on Monday will be coffee, a bag of sugar and skittles

My sons teacher gave him a flute and now I hate her

Cheapest way to get started advertising: 1. Find competitor spending $2m+/month A/B testing ads 2. Use what they do as starting point

Having just discovered the wonderful world of mechanical keyboards. I can already foresee me burning through a lot of money

Learning SVG is cool, because you might not need a charting library if you understand it. I'm just using Vue here.…

@G_DADDAY Doh! Looks like something is up with my let's encrypt cert. thanks for the heads up!

your playoff goal leader is tanner glass how you like me now, NHL