Mixins and classes for centering elements with transform translate