当前位置:网站首页>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>

边栏推荐
- Biovendor sRAGE antibody solution
- Is it enough for the project manager to finish the PMP? no, it isn't!
- When excel copies the contents of a row, the columns are separated by the tab "\t"
- Extjs library management system source code intelligent library management system source code
- Gorm transaction experience
- jsp连接Oracle实现登录注册
- Office is being updated and the application cannot start normally
- JS 文本框失去焦点修改全半角文字和符号
- Can wechat applets import the data in the cloud development database into makers with one click in the map component
- TypeScript接口
猜你喜欢

Operation of simulated examination platform of G3 boiler water treatment recurrent training question bank in 2022

When excel copies the contents of a row, the columns are separated by the tab "\t"

jsp连接oracle实现登录注册(简单)

活性染料研究:Lumiprobe AF594 NHS 酯,5-异构体

Create NFS based storageclass on kubernetes

MySQL 45 talk | 05 explain the index in simple terms (Part 2)

拉萨手风琴

IP datagram sending and forwarding process

Oracle 条件、循环语句

Feign implements path escape through custom annotations
随机推荐
Online yaml to JSON tool
关系数据库与文档数据库对比
分享|智慧环保-生态文明信息化解决方案(附PDF)
Lumiprobe细胞成像分析:PKH26 细胞膜标记试剂盒
Learn Taiji Maker - mqtt Chapter 2 (IV) esp8266 reserved message application
【JVM】——JVM中內存劃分
[leetcode] 12. Integer to Roman numeral
[microservices openfeign] openfeign quick start service invocation based on feign
BioVendor sRAGE Elisa试剂盒化学性质和技术研究
MySQL 45 talk | 05 explain the index in simple terms (Part 2)
Feign implements path escape through custom annotations
109. simple chat room 12: realize client-side one-to-one chat
Keil C51的Data Overlaying机制导致的函数重入问题
What are functions in C language? What is the difference between functions in programming and functions in mathematics? Understanding functions in programming languages
Operation of simulated examination platform of G3 boiler water treatment recurrent training question bank in 2022
Question bank and answers of 2022 materialman general basic (materialman) operation certificate examination
The heading angle of sliceplane is the same as that of math Corresponding transformation relation of atan2 (y, x)
【JVM系列】JVM调优
线条动画
羧酸研究:Lumiprobe 磺基花青7二羧酸