HTML京东商品页面代码,jquery仿京东商品页面代码分享

该博客分享了如何使用jQuery代码实现类似京东商品页面的效果,包括图片放大、导航条切换和评论展示等功能。详细讲解了CSS样式设置,以及jQuery事件处理,如鼠标悬停、点击事件等,帮助读者理解实现过程。
摘要由CSDN通过智能技术生成

jquery仿京东商品页面

京东页面大家都很熟悉,进入商品页面把鼠标放在图片上旁边会出现一个放大的效果,接下来就带大家看看怎么实现的!!!!

仿京东商品页面的效果!!!

962c7dd5fd5b194ea862236a33e6e4b2.gif

仿京东商品页面css的代码!!!* {

margin: 0;

padding: 0;

}

.da {

width: 360px;

height: 418px;

float: left;

}

.shang {

width: 350px;

height: 350px;

border: 1px solid #ccc;

margin: 10px 0 10px 10px;

position: relative;

}

.yin {

width: 150px;

height: 150px;

border: 1px solid #ccc;

background: rgba(255,255,255,0.3);

position: absolute;

top: 0;

left: 0;

cursor: pointer;

display: none;

}

.bao {

width: 362px;

height: 56px;

}

.tab {

width: 320px;

height: 56px;

margin-left: 10px;

overflow: hidden;

}

.Ul {

width: 9999px;

height: 56px;

}

.Ul li {

width: 52px;

height: 52px;

float: left;

border: 2px solid #ccc;

margin-left: 8px;

list-style: none;

position: relative;

text-align: center;

}

.li {

width: 52px;

height: 52px;

border: 2px solid #FF7403;

}

.li img {

display

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值