jQuery实现垂直半透明手风琴特效代码分享

(编辑:jimmy 日期: 2024/10/6 浏览:2)

今天我们来分享一款基于jQuery的横向手风琴图片轮播焦点图特效源码。手风琴效果即图片一张张层叠在一起,鼠标滑过图片时即可展开完整的图片,这样的效果很常见,所以应用也很广泛,大家可以试试这款jQuery焦点图。

运行效果图:

---------------------------------效果演示 源码下载---------------------------------

jQuery实现垂直半透明手风琴特效代码分享

为大家分享的jQuery半透明抽屉式手风琴代码如下

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery半透明抽屉式手风琴代码</title>

<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;text-decoration:none;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}

.pic{width:1100px;height:430px;margin:70px auto 0;}
.pic ul li{list-style:none;width:100px;height:429px;float:left;}
.pic .l1{background-image:url(img/1.jpg);}
.pic .l2{background-image:url(img/2.jpg);}
.pic .l3{background-image:url(img/3.jpg);}
.pic .l4{background-image:url(img/4.jpg);width:789px;}
.txt{width:100px; height:429px;background:#000;filter:alpha(opacity=50);background:rgba(0,0,0,.5);}
.txt p{color:#fff;font-family:"微软雅黑";float:left;position:relative;}
.txt .p1{font-size:12px;width:12px;margin:25px 25px 0 20px;}
.txt .p2{font-size:14px;width:14px;margin-top:25px;}
</style>

</head>

<body>

<div class="pic">
 <ul>
 <li class="l1">
 <a href="//www.jb51.net" target="_blank">
 <div class="txt">
  <p class="p1">作者 : 走天涯</p>
  <p class="p2">我的个人拉萨之旅||故事之城</p>
 </div>
 </a>
 </li>
 <li class="l2">
 <a href="//www.jb51.net" target="_blank">
 <div class="txt">
  <p class="p1">作者 : 走天涯</p>
  <p class="p2">我的个人拉萨之旅||故事之城</p>
 </div>
 </a>
 </li>
 <li class="l3"> 
 <a href="//www.jb51.net" target="_blank">
 <div class="txt">
  <p class="p1">作者 : 走天涯</p>
  <p class="p2">我的个人拉萨之旅||故事之城</p>
 </div>
 </a>
 </li>
 <li class="l4">   
 <a href="//www.jb51.net" target="_blank">
 <div class="txt">
  <p class="p1">作者 : 走天涯</p>
  <p class="p2">我的个人拉萨之旅||故事之城</p>
 </div>
 </a>
 </li>
 </ul>
</div>

<script type="text/javascript" src="/UploadFiles/2021-04-02/jquery.js">

以上就是为大家分享的jQuery半透明抽屉式手风琴代码,希望大家可以喜欢。

一句话新闻

Windows上运行安卓你用过了吗
在去年的5月23日,借助Intel Bridge Technology以及Intel Celadon两项技术的驱动,Intel为PC用户带来了Android On Windows(AOW)平台,并携手国内软件公司腾讯共同推出了腾讯应用宝电脑版,将Windows与安卓两大生态进行了融合,PC的使用体验随即被带入到了一个全新的阶段。