tachyons
tachyons copied to clipboard
Strange safari behaviour when hovering over element using "dim class"
When using the dim class on graphical elements, they move a bit on hover:

Or check it out live here hovering the social icons in the footer component.
Happens only in safari, chrome seems to be fine.
Weird, not happening anymore.
Still happening on my end. Might have a fix. Will try to address it soon. Thanks for pinging me with this.
Wasn't sure whether it was only because of an extension or so, that's why I closed it. At least we have proof now that it's not only happening for me.
Update: have tried to fix this a few time but have failed so far. Will keep at it. Accepting PRs if someone else has a fix though :)
.dim{transform:translateZ(0);opacity:1} must be applied to prevent bouncing on hover. I came across this when resolving a glitch on .grow:hover. You can see the outcome of that here: https://codepen.io/inspiredlabs/pen/qwpWrq