Answers for "how to remove the css property using jquery"

CSS
1

how to remove css from element using jquery

$('#tag-id').removeAttr('style');
Posted by: Guest on December-04-2020
3

remove css jquery

$("#id").css({ 'background-color' : '', 'opacity' : '' });
$(".class").css({ 'background-color' : '', 'opacity' : '' });
//You can remove css by the above.
Posted by: Guest on January-08-2020

Code answers related to "how to remove the css property using jquery"

Browse Popular Code Answers by Language