You can even consider using a style tag.
It could turn to be very fast.
For example if you have a lot of elements to modify, let's say 100 elements, as you write your css only once, the DOM will be changed only once.
HTML:
...
SCRIPT:
http://jsperf.com/foox/4