K
K
Kishir2017-02-06 15:38:35
css
Kishir, 2017-02-06 15:38:35

CSS - Safari - Why Do Weird Indents Appear?

3bc282674bc94671b7b04d6d090c9ef5.png
I hope it will be clear, at the top of the very first news there is a strange white indentation at the very top, checking the elements shows that the height and width of the two divs overlapping each other are identical.
The first div is a picture, the second one is darkening to create the effect of selecting an object, that is, when hovering, using css - hover , I make it transparent. Such an artifact (incomprehensible indentation) appears only in the Safari database when zoomed in.
Also, for some reason, hover does not work in Safari , in other browsers everything looks and works just fine, without any artifacts. Can you suggest how to solve this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2017-02-06
@webinar

When zooming in a browser, no matter which one, there are always artifacts, don't bother. If the customer asks for everything to be perfect when scaling, put the x3 price tag right away.

E
Egor Zhivagin, 2017-02-06
@Krasnodar_etc

And let's reset the padding, for example. What will happen?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question