Check out example codes for "multiple css jquery". It will help you in understanding the concepts better.

Code Example 1

$("p").css({"background-color": "yellow", "font-size": "200%"});

Code Example 2

$('.name').css('color':'blue');

Code Example 3

$('.ama').css('color','red');

Code Example 4

$("p").css("background-color", "yellow");

Learn ReactJs, React Native from akashmittal.com