There is a fragment of markup:
<div class="item"> <img src="" alt=""> <p>Наполнение</p> </div> And the relevant style fragment:
.item img { content: url(../img/star.png); width: 50px; margin-bottom: 15px; margin-top: 25px; } In general, it works correctly, but not in all brewers. Or rather, the image is not displayed. In Chrome, everything works, but when viewed in Fox or in Edge, the image is not displayed, if it simply does not exist. In debugging, everything is in place:
I assumed that it is necessary to explicitly set the height, but in the end, the empty space simply increases. How can this be corrected?
PS Used by Bootstarp.
