0

Why when I hover mouse on cards image moved ?!
I am trying to fix it and I find when I remove page direction and or remove overflow-y from #center it's fixed but I need them !!

even when I inspect elements in cards and mouse hovering could to see all elements are moved but shown correct !
I guess it's maybe page rendering problem in chrome browser
in fact what is problem and how can I to fix it technically ?

JSFiddle Demo

java acm
  • 1,020
  • 12
  • 24

1 Answers1

1

This issue appears to be a Chrome bug according to this topic: image moves on hover - chrome opacity issue and I think you should setting position:relative to inner img solves the problem

  • Thanks for hint and your solution , it's fixed by set posision:relative; to card div ".div" https://jsfiddle.net/a3stn5ct/2/ – java acm Sep 23 '17 at 13:10
  • @javaacm you're welcome. I don't know why some people auto downvote the question, I gave you an upvote with real code demo. Be always positive my friend – Thai Hoc Ha Nguyen Sep 23 '17 at 14:26