U
U
UntitledNikname2021-03-07 16:28:42
css
UntitledNikname, 2021-03-07 16:28:42

Why does Firefox add hide some images?

There is, for example, such html markup

<a href="">
<div class="div1">
    <img src="img2" alt=""/>
</div>
</a>
<a href="">
<div class="div2">
    <img src="img2" alt=""/>
</div>
</a>


In Firefox and only .. in the browser console, you can see the following code
img[src="img1"] {
    display: none !important;
}

why does he add it? what's wrong ?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question