From http://css-tricks.com/snippets/css/useful-css3-less-mixins/