You can pass these in a single call by using an object instead. Then you can make this declarative.
http://api.jquery.com/css/#css-properties