I am wondering to find out the checking process for an element to contain any css style.
I do have below html code:
<ul id="sample">
<li style="left:-100px">text 1</li>
<li style="left:0px">text 2</li>
<li style="left:100px">text 3</li>
</ul>
I want to find out the “li” whose style left is 0px and then want to apply any more style to that li.
Thanks
1 Answer