Tag

css

Using background-size:cover to Highlight an Image Feature

Most implementations of background cover I have seen and used myself in projects tend to use the cover style with background position center center (or 50% 50%), scaling from the center. This works great most of the time, since usually…

EM Calculator

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…

Using Text-Align Justify for Layout

Lately I have seen a lot of people using text-align:justify with display:inline-block to create layouts that would normally be done using a variety of other techniques. This post offers the simplest explanation I could muster and has a CodePen embedded…