Jak usunąć CSS z elementu za pomocą jQuery
$('#tag-id').removeAttr('style');
Ankur
$('#tag-id').removeAttr('style');
$("p").removeClass( "myClass yourClass" )
$("div").removeClass("important");
addClass() - Adds one or more classes to the selected elements
removeClass() - Removes one or more classes from the selected elements
toggleClass() - Toggles between adding/removing classes from the selected elements
css() - Sets or returns the style attribute
//removing css with jQuery. i.e: set to default
$( "#myElementID" ).css("background-color", "");//just blank it out
// OPTION 1:
el.style.removeProperty('zoom');
// OPTION 2:
el.style.zoom = "";
$("#id").css({ 'background-color' : '', 'opacity' : '' });
$(".class").css({ 'background-color' : '', 'opacity' : '' });
//You can remove css by the above.