悬停/鼠标悬停时更改颜色和比例?
我正在尝试创建很小的灰色按钮,直到鼠标悬停在上面为止,然后它们就会变大并着色。
我用过 Soh Tanaka 很棒的灰度教程 - 但我不知道如何添加额外的参数,使图像在鼠标悬停时也变大。
http://www.sohtanaka.com/web-design/examples/将鼠标悬停在技巧/
任何帮助表示赞赏!
I'm trying to create buttons that are small, and grey until moused over- then they become large and colored.
I've used Soh Tanaka's awesome greyscale tutorial-
but I can't figure out how to add the additional parameter of having the images also get bigger when moused over.
http://www.sohtanaka.com/web-design/examples/hover-over-trick/
any help is appreciated!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只需设置宽度、高度、顶部、左侧和边距的动画即可。这是 http://www.sohtanaka 的片段。 com/web-design/fancy-thumbnail-hover-effect-w-jquery/
Just animate width, height, top, left and margins. Here's a snippet from http://www.sohtanaka.com/web-design/fancy-thumbnail-hover-effect-w-jquery/