久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

jQuery鼠標(biāo)懸停內(nèi)容動(dòng)畫切換效果怎么實(shí)現(xiàn)

151次閱讀
沒有評論

共計(jì) 1692 個(gè)字符,預(yù)計(jì)需要花費(fèi) 5 分鐘才能閱讀完成。

自動(dòng)寫代碼機(jī)器人,免費(fèi)開通

丸趣 TV 小編給大家分享一下 jQuery 鼠標(biāo)懸停內(nèi)容動(dòng)畫切換效果怎么實(shí)現(xiàn),相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!

效果如下:

jQuery 鼠標(biāo)懸停內(nèi)容動(dòng)畫切換效果怎么實(shí)現(xiàn)

代碼如下:

 !DOCTYPE html
html
head
meta http-equiv= content-type content= text/html; charset=UTF-8
title jQuery 鼠標(biāo)懸停內(nèi)容動(dòng)畫切換效果 /title
style
margin: 0;
padding: 0;
list-style: none;
img {
border: 0;
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(http://demo.lanrenzhijia.com/2014/pic0910/images/serboxon_bg.gif) 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;
/style
/head
body
!-- 代碼 begin --
p >

以上是 jQuery 鼠標(biāo)懸停內(nèi)容動(dòng)畫切換效果怎么實(shí)現(xiàn)的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注丸趣 TV 行業(yè)資訊頻道!

向 AI 問一下細(xì)節(jié)

丸趣 TV 網(wǎng) - 提供最優(yōu)質(zhì)的資源集合!

正文完
 
丸趣
版權(quán)聲明:本站原創(chuàng)文章,由 丸趣 2023-12-18發(fā)表,共計(jì)1692字。
轉(zhuǎn)載說明:除特殊說明外本站除技術(shù)相關(guān)以外文章皆由網(wǎng)絡(luò)搜集發(fā)布,轉(zhuǎn)載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 竹溪县| 太康县| 盐津县| 柳河县| 庆安县| 五莲县| 平果县| 天祝| 沙河市| 华宁县| 海淀区| 晋中市| 绥中县| 和顺县| 库车县| 长顺县| 虹口区| 大方县| 汉寿县| 双辽市| 阿合奇县| 夏河县| 拉萨市| 泰兴市| 陇南市| 平乐县| 磴口县| 徐闻县| 多伦县| 平昌县| 称多县| 阿坝| 通州区| 靖州| 卢龙县| 岫岩| 日土县| 德兴市| 新蔡县| 巴彦县| 鲜城|