I think some of the mixins from the bootstrap project are both simple and precise.