CSS select elements with background-image set to specific url

Viewed 4372

I have element that I want to hide if the background-color property has specific url provided to it (namely default image - copied from HTML that I have no control over : style='background-image: url("assets/images/default_logo.png");')

Is there a way to query for this specific case with CSS?

Concrete example:

<div class="module-logo"
     ng-show="!show_loading &amp;&amp; module_logo != ''"
     style="background-image: url(&quot;assets/images/default_logo.png&quot;);"
     aria-hidden="false">
</div>
2 Answers
Related