How to style last tag img css?

admin

Administrator
Staff member
Hi all I have problem with wordpress content . the code is hide and when I inspect the element the code looks like:

Code:
<img src="vassasa.jpg">
<img src="qqassasa.jpg">
<img src="zzffassasa.jpg">
<img src="assasa.jpg">
<img src="qqfhassasa.jpg">

So I want to css style last tag img

and my code:

Code:
img:last-child{
    margin-bottom:100px;
}

but not work, Help me please.