quitar css jquery
$("#id").css({ 'background-color' : '', 'opacity' : '' });
$(".class").css({ 'background-color' : '', 'opacity' : '' });
//You can remove css by the above.
jquery quitar clases css
$("p").removeClass( "myClass yourClass" )
jquery quitar css
$("#id .class").css({ 'background-color' : '' });
/*
As mentioned in the jquery documentation:
Setting the value of a style property to an empty string
removes that property from an element
if it has already been directly applied
e.g. $('#mydiv').css('color', '')
*/
cómo eliminar el css del elemento con jquery
$('.tag-class').removeAttr('style');
jquery quitar de la clase
$("#div1").on("click", function () {
if ($(this).hasClass("active")) {
setTimeout(function () {
$("#div1").removeClass("active");
}, 10);
}
});