I have the following inside my custom css:-
img[src*="webmail"],img[src*="portal"],img[src*="website"],img[src*="CRM"],
img[src*="object"],img[src*="Emailar"],img[src*="Contact"]
{
width:70px;
height:130 px;
margin-top:0px;
margin-right:0px;
margin-left:0px;
}
now i want to do some calculation inside my javascript and then apply this css rule (mainly change the width from 70px to 50px):-
img[src*="webmail"],img[src*="portal"],img[src*="website"],img[src*="CRM"],
img[src*="object"],img[src*="Emailar"],img[src*="Contact"]
{
width:50px;
}
so can anyone advice how i can apply this css rule using pure javascript (no jQuery will be preferred).
Thanks