Answers for "how to set the style of an element in jquery"

CSS
7

jquery set style property

$("selector").css("property", "value");

// Example:
$("div").css("background-color", "red");
Posted by: Guest on October-01-2020

Code answers related to "how to set the style of an element in jquery"

Browse Popular Code Answers by Language