Answers for "jquery get a css variable's value"

CSS
0

jquery change css variiable value

$("html").on('click', function() {
  
  $("body").get(0).style.setProperty("--color", "hotpink");
  
});
Posted by: Guest on June-13-2021

Browse Popular Code Answers by Language