A responsive approach to image scaling with CSS

minute read. Posted on March 10, 2014 in Code & Design CSS

There was a popular article written a few weeks ago called “Vertical align anything with just 3 lines of CSS“. This approach to vertically aligning things with top and translateY is something we’ve used recently, but in a little different context. We had to fit images into responsive containers that had fluid widths and set heights, and all we knew were the widths of the images.

Read the full post on the appendTo blog