Answers for "js remove specific css property"

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
1

js remove specific css property

// OPTION 1:

el.style.removeProperty('zoom');

// OPTION 2:

el.style.zoom = "";
Posted by: Guest on July-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language