Fixed the CSS function now includes any attribute