During a recent pair programming session, I came to the tough realization that I really know nothing about CSS. Granted, I can add in a
div tag here and there, and yes, I can make a responsive page using Twitter Bootstrap like no one’s business. But, what do I really know about design? Not as much as I thought I did.
I figured out that this was the case when the designer I was pairing with started using ems and rems. I should probably preface this and say that I have always been a pixel kind of girl. I was formerly of the mindset that you can have any font size you like – as long as it’s defined in pixels.
But, after doing a bit of research, I found that ems and rems actually have an interesting history behind them, and are super helpful when it comes to elastic layouts and responsive design.