Turns CSS blocks into style attributes