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

Code Example 1

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

Code Example 2

echo get_stylesheet_directory_uri();

Code Example 3

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

Code Example 4

$(init);
    
function init() {
    $("h1").css("backgroundColor", "yellow");
    $("#myParagraph").css({"backgroundColor":"black","color":"white");
    $(".bordered").css("border", "1px solid black");
}

Code Example 5

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

Code Example 6

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

Learn ReactJs, React Native from akashmittal.com