I am experiencing some weird behavior when zooming out on my webpage. I have some div
s holding a title and <p>
overlay. When the user hovers over the div
, I want the <p>
(in the overlay) to show, and when the user is not hovering, I want the <p>
not to show.
This works fine in when the user is at a 0 zoom in the browser, but when the user zooms out, I can see the <p>
section. Whilst zoomed out I can increase the bottom
to correct for this, but there has to be something I missing.
Is there anyway to keep the <p>
hidden when zoomed out?
I understand this must sound crazy so I did a crude JSFiddle to show what I am talking about. The weird thing is that when zooming out on JSFiddle the problem I am having in my browser (safari) is not happening on their site.
Any help would be appreciated!
I should have mentioned that I plan on animating the mouse over effect.