当前位置:网站首页>Lhasa accordion
Lhasa accordion
2022-06-28 05:27:00 【Yuanxiaobai】
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title> Lhasa accordion </title>
<style>
*{
margin: 0;
}
body{
background-image: url(../images/6.jpg);
background-repeat: no-repeat;
background-size: cover;
}
.piclists{
width: 1089px;
height: 429px;
background-color: #8392e2;
margin: 100px auto;
}
.piclists ul{
list-style: none;
padding: 0;
height: 100%;
}
.list{
float: left;
width: 100px;
height: 429px;
background-color: #ff9999;
background-image: url(../images/3.jpg);
}
.list:nth-child(2){
background-image: url(../images/4.jpg);
}
.list:nth-of-type(3){
background-image: url(../images/5.jpg);
}
.list:nth-of-type(4){
width: 789px;
background-image: url(../images/6.jpg);
}
.list div{
width: 100px;
height: 429px;
background-color: rgba(0,0,0,0.5);
}
.list div p{
padding: 43px;
color: #ffffff;
}
</style>
</head>
<body>
<div class="piclists">
<ul>
<li class="list">
<div>
<p> My personal trip to Lhasa | | City of stories </p>
</div>
</li>
<li class="list">
<div>
<p> My personal trip to Lhasa | | City of stories </p>
</div>
</li>
<li class="list">
<div>
<p> My personal trip to Lhasa | | City of stories </p>
</div>
</li>
<li class="list">
<div>
<p> My personal trip to Lhasa | | City of stories </p>
</div>
</li>
</ul>
</div>
<script src="../js/jquery-1.11.1.min.js"></script>
<!--script src="../js/tab.js"></script-->
<script>
(function($){
$.fn.tab = function(option){
var bgNode = option.bg;
var eventNode = option.el;
var imgArr = option.bgImg;
$(eventNode).click(function(){
var index = $(this).index();
$(this).stop().animate({
width: "789px"
},500).siblings().stop().animate({
width: "100px"
},500);
$(bgNode).css({
backgroundImage:"url("+imgArr[index]+")"
});
})
}
})($)
$.fn.tab({
el:".list",
bg:"body",
bgImg: ["../images/3.jpg","../images/4.jpg",
"../images/5.jpg","../images/6.jpg"]
});
</script>
</body>
</html>

边栏推荐
- [JVM] - Division de la mémoire en JVM
- 刘海屏手机在部分页面通过[[UIApplication sharedApplication] delegate].window.safeAreaInsets.bottom得到底部安全区高度为0问题
- It is the latest weapon to cross the blockade. It is one of the fastest ladders.
- MySQL 45 talk | 05 explain the index in simple terms (Part 2)
- Yunda's cloud based business in Taiwan construction 𞓜 practical school
- To batch add background pictures and color changing effects to videos
- 指定默认参数值 仍报错:error: the following arguments are required:
- 【JVM系列】JVM调优
- Biovendor sRAGE antibody solution
- What is the difference between AC and DC?
猜你喜欢

Lumiprobe细胞成像分析:PKH26 细胞膜标记试剂盒

分享|智慧环保-生态文明信息化解决方案(附PDF)

Gee learning notes 3- export table data

Oracle基础知识总结

Share a powerful tool for factor Mining: genetic programming

Online yaml to JSON tool

【Linux】——使用xshell在Linux上安装MySQL及实现Webapp的部署

CpG solid support research: lumiprobe general CpG type II

Interpretation of cloud native microservice technology trend

Redis 的 最新windows 版本 5.0.14
随机推荐
線條動畫
Jdbc的使用
指定默认参数值 仍报错:error: the following arguments are required:
活性染料研究:Lumiprobe AF594 NHS 酯,5-异构体
JSP
Create NFS based storageclass on kubernetes
How to develop the language pack in the one-to-one video chat source code
Wedding studio portal applet based on wechat applet
MySQL export database dictionary to excel file
How does guotaijun charge for safe varieties? Let's talk about the futures account opening process
When excel copies the contents of a row, the columns are separated by the tab "\t"
Is it enough for the project manager to finish the PMP? no, it isn't!
店铺进销存管理系统源码
如何做好水库大坝安全监测工作
Learn Taiji Maker - mqtt Chapter 2 (IV) esp8266 reserved message application
gsap的简单用法
Opencv实现颜色检测
How high is the gold content of grade II cost engineer certificate? Just look at this
It is the latest weapon to cross the blockade. It is one of the fastest ladders.
Dart学习——函数、类