Offsetting an HTML element in a flexible container

This morning, while I was preparing the materials for the second edition of Responsive Web Design workshop I revisited some of the questions that attendees had asked the last time. One question that comes up frequently — even outside the workshops — is how to handle flexible widths and paddings on a child element, if the container itself is set with flexible lengths. Read more »