Many problems with website layouts, such as unwanted side effects, painful updates, and brittle code, happen when we don’t write CSS with the same care we’d use when writing a JavaScript function. Let’s look at how we can borrow best ...