remove css attribute jquery code example
Example 1: how to remove css from element using jquery
$('#tag-id').removeAttr('style');
Example 2: remove css jquery
$("#id").css({ 'background-color' : '', 'opacity' : '' });
$(".class").css({ 'background-color' : '', 'opacity' : '' });
//You can remove css by the above.
Example 3: how to remove css from element using jquery
$('.tag-class').removeAttr('style');
Example 4: jquery remove css
$("#id .class").css({ 'background-color' : '' });
Example 5: how to remove css from element using jquery
$("body").removeAttr("style");