For the show I hard-coded the size of the shadows beneath the card being flipped, but in a Responsive Web Design world that’s rarely ideal: we need flexibly sized elements, and it would be nice to have a shadow for it that is always ‘magically’ the right size for the element it’s beneath.
Full article