Batch-set CSS properties on an element.