1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > jQuery鼠标悬停内容动画切换效果实现代码

jQuery鼠标悬停内容动画切换效果实现代码

时间:2023-08-15 03:04:06

相关推荐

jQuery鼠标悬停内容动画切换效果实现代码

数据库|mysql教程

jQuery,动画,内容

数据库-mysql教程

本文主要介绍了jQuery鼠标悬停内容动画切换效果的实例。具有很好的参考价值。下面跟着小编一起来看下吧,希望能帮助到大家。

cnc 源码,vscode启动多个进程,ubuntu 安全组,最新tomcat安装教程,京东 爬虫 乱码,php 5.4新特性,seo优化明天的工作内容,html5微网站开发教程,bootstrap前台模板下载lzw

效果如下:

android 记账本源码,vscode代码自适应,ubuntu 磁盘设置,tomcat jdk14,pm爬虫,php 正则 b,seo咨询简历表,大气动漫网站源码,网页目录树模板lzw

健康app android源码,ubuntu怎么删除换行,tomcat 启动停在一半,电商爬虫产品,php开心网注册页面,seo薪资模式lzw

代码如下:

jQuery鼠标悬停内容动画切换效果* { margin: 0; padding: 0; list-style: none; } img { border: 0; } a { color: #fff; text-decoration: none; } .servicesBox { width: 1000px; height: 270px; margin: 0 auto; clear: both; line-height: 18px; color: #999999; font-size: 12px; } .servicesBox .serBox { cursor: pointer; border: 1px solid #fff; display: inline; width: 198px; height: 250px; float: left; overflow: hidden; background-color: #f7f7f7; position: relative; } .servicesBox .serBoxOn { font-family: "Microsoft Yahei"; display: none; width: 320px; height: 270px; background: url(//pic0910/images/serboxon_bg.jpg) repeat 0px 0px; position: absolute; left: 0px; top: 0px; z-index: 19; } .servicesBox .serBox .pic1 { width: 110px; height: 110px; text-align: center; position: absolute; top: 22px; right: 41px; z-index: 99; } .servicesBox .serBox .pic2 { width: 110px; height: 110px; text-align: center; position: absolute; top: 22px; left: -110px; z-index: 99; } .servicesBox .serBox .txt1 { width: 198px; height: 100px; color: #999999; position: absolute; top: 145px; left: 0px; z-index: 99; } .servicesBox .serBox .txt2 { width: 198px; height: 100px; color: #a9cf4f; position: absolute; top: 145px; right: -240px; z-index: 99; } .servicesBox .serBox span.tit { font-size: 16px; display: block; text-align: center; } .servicesBox .serBox .txt1 .tit { color: #000000; line-height: 30px; } .servicesBox .serBox .txt2 .tit { color: #fff; line-height: 30px; font-family: "Microsoft Yahei"; } .servicesBox .serBox p { padding: 0 10px; text-align: center; }

开心网

开心网营销

开心网

开心网营销

人人网

人人网营销

人人网

人人网营销

QQ空间

QQ空间营销

QQ空间

QQ空间营销

问答营销

问答投放 锁住潜在客户

问答营销

问答投放 锁住潜在客户

邮件推广

低成本 商机无限

邮件推广

低成本 商机无限

$(function() { $(".serBox").hover( function() { $(this).children().stop(false, true); $(this).children(".serBoxOn").fadeIn("slow"); $(this).children(".pic1").animate({ right: -110 }, 400); $(this).children(".pic2").animate({ left: 41 }, 400); $(this).children(".txt1").animate({ left: -240 }, 400); $(this).children(".txt2").animate({ right: 0 }, 400); }, function() { $(this).children().stop(false, true); $(this).children(".serBoxOn").fadeOut("slow"); $(this).children(".pic1").animate({ right: 41 }, 400); $(this).children(".pic2").animate({ left: -110 }, 400); $(this).children(".txt1").animate({ left: 0 }, 400); $(this).children(".txt2").animate({ right: -240 }, 400); } ); });

实例讲解jquery鼠标悬停导航下划线滑出效果

怎样用CSS让鼠标悬停在图片上图片变灰

Javascript仿游戏网站特效鼠标悬停显示子菜单

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。