optimize CSS for an element to be re-used