Answers for "jquery css as object"

1

get css value jquery

var font-size = $('p').css('font-size');
console.log(font-size);
Posted by: Guest on October-18-2020
5

edit css jquery

$('.ama').css('color','red');
Posted by: Guest on March-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language