使用 jQuery 重置 CSS3 转换?
我需要将 css3 transform:scale() 设置回其原始值。
请参阅此示例:
它在单击时有效,但在我悬停时无效出..
我也尝试设置为scale(1)但这也没有帮助..
有什么想法吗?
I need to set a css3 transform:scale() back to it's original value.
See this example:
It works on click, but not when I hover out..
I also tried setting to scale(1) but that doesn't help either..
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在第二个悬停回调中,您仍在使用
inValue
。如果您将其切换为使用outValue
,就像这个更新的小提琴:http://jsfiddle。 net/Z2TNw/1/ 它按预期工作。In your second hover callback, you are still using
inValue
. If you switch it to useoutValue
, like this updated fiddle: http://jsfiddle.net/Z2TNw/1/ It works as expected.