P
P
Polina Pukhova2017-07-28 19:41:05
css
Polina Pukhova, 2017-07-28 19:41:05

Why does a copy of the text below appear on the element?

When checked with github pages, a translucent copy of the text below appears in the category, and without any system. When you change any parameter (screen size, remove some property on the developer panel), it disappears, but when updated, it returns back, and not always on the same element.
ce3ed02dee6e4310a7959baa2e2b86cf.PNG
Page: https://pcheluntik.github.io/TellUs/category.html
Element code:

<li>
  <a href="" class="b-green category-item">
    <p class="stock-quantity">135</p>
    <img src="resources\img\barbershop.svg" alt="">
    <p>Парикмахерские</p>
  </a>
</li>

How to fix it? It may be related to hover, but I can't find how it happens

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Polina Pukhova, 2017-07-28
@Pcheluntik

Solved with a fixed-size img wrapper block, after which the text doesn't move

I
iBird Rose, 2017-07-28
@iiiBird

interesting bug. only available in chrome. empirically established that it is due to the gradient.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question