If I have one div element for example and class \'first\' is defined with many css properties. Can I assign css class \'second\' which also has many properties differently
You can add and remove classes with jQuery like so:
$(".first").addClass("second") // remove a class $(".first").removeClass("second")
By the way you can set multiple classes in your markup right away separated with a whitespace