I'm using social API which is dynamically adding the class on <a></a>
. I want to remove all style property of dynamically add class.
CSS
a.api_sytle{
background-image: url(https://s-passets.pinimg.com/images/pidgets/pinit_bg_en_rect_gray_20_1.png)!important;
cursor: pointer!important;
background-repeat: none!important;
background-size: 40px 60px!important;
height: 20px!important;
padding: 0!important;
vertical-align: baseline!important;
text-decoration: none!important;
width: 40px!important;
background-position: 0 -20px;
}
#pin-socail{
all: unset;
}
I searched about it and find this style property all: unset;
in this answer, but it does not work.
HTML
<li><a id="pin-socail" href="www.test.api-response.com"></a></li>
Can any one guide me is there possible that i remove the all style from dynamically added class ?