jquery onclick change css property code example
Example 1: jquery onlcick css change
$('.colors-list li').click(function(e){
$('.results').css('background-color', 'red');
});
Example 2: set css using jquery
$('.name').css('color':'blue');
$('.colors-list li').click(function(e){
$('.results').css('background-color', 'red');
});
$('.name').css('color':'blue');