css走马灯,一步一停(专家介绍类型)
<div class="CON--cen-pd3 clear aniview slow" data-av-animation="fadeIn">
<i class="layui-icon layui-icon-left" id="car_prev" style="font-size: 30px; color: #1E9FFF;position:relative;top: 6rem;right: 2.4rem;cursor:pointer;"></i>
<div class="profld position" id="indexcar" data-listnum="4">
<ol class='metlist'>
{dede:arclist typeid="8"}
<li class='list'><a href='[field:arcurl/]' title='[field:title/] ' target='_self' class='img'><img src='[field:picname/]' alt='[field:title/] ' title='[field:title/] ' width='120' /></a>
<h3><a href='[field:arcurl/]' title='[field:title/] ' target='_self'>[field:title/]</a></h3>
</li>
{/dede:arclist}
</ol>
</div>
<i class="layui-icon layui-icon-right next" id="car_next" style="font-size: 30px; color: #1E9FFF;position:relative;bottom: 8rem;left: 2.5rem;cursor:pointer;"></i>
</div>
<script type="text/javascript">
var _index5=0;
var timer = setInterval(function(){
_index5++;
var len=$("ol.metlist li").length;
if(_index5+6>len){
$("ol.metlist").stop().append($("ol.metlist").html());
}
$("ol.metlist").stop().animate({left:-_index5*173},1000);
},3000);
$("#car_next").click(function(){
_index5++;
var len=$("ol.metlist li").length;
if(_index5+6>len){
$("ol.metlist").stop().append($("ol.metlist").html());
}
$("ol.metlist").stop().animate({left:-_index5*173},1000);
});
$("#car_prev").click(function(){
if(_index5==0){
$("ol.metlist").prepend($("ol.metlist").html());
$("ol.metlist").css("left","-1380px");
_index5=7
}
_index5--;
$("ol.metlist").stop().animate({left:-_index5*173},1000);
});
</script>
<style>
/*专家团队*/
.position{position:relative;}
.CON--cen-pd3{
padding: 0 50px 12px;
min-height: 150px;
border:1px solid rgb(219, 226, 247);}
.CON--bot{padding-top:2px;}
.CON--bot .profld{ margin:0px; position: relative;
top: -0.5rem; right: 0rem; overflow:hidden; height: 190px;}
.CON--bot h3 span{ float:left; }
.CON--bot ol{ position: absolute; width: 2012em;height: 100%; }
.CON--bot ol li{ float:left; width: 173px; text-align:center; height: 100%;}
.CON--bot ol li a.img{ display:block; text-align:center; font-size:0px;height: 100%;}
.CON--bot ol li a.img img{ margin:auto; border:1px solid #d6d6d6;height: 78%;}
.CON--bot ol li h3{ font-weight:normal; margin-top:5px; height:20px; line-height:20px;
overflow:hidden;
font-size: 0.9rem;
white-space: nowrap;
text-overflow: ellipsis;
position: relative;
bottom: 2.5rem;}
.CON--bot .flip{width:70px; height:168px; float:left;
position:relative; top:45px; z-index:100;}
* html .CON--bot .flip{ width:70px;}
*html .CON--bot .flip{ width:70px;}
.CON--bot .next,.CON--bot .prev{width:35px;overflow: hidden;}
.CON--bot .next{background-position:-35px 0px; float:right; position:absolute; left:960px;}
.CON--bot .prev{
background-position: 0px 0px;
float: left;
position: relative;
left: 1.5rem;
bottom: 1.4rem;}
.fl{
margin: 1.8rem 0 0.8rem;
font-size: 1.2rem;
font-weight: 600;
}
/*专家团队*/
</style>
css走马灯,一步一停(专家介绍类型)的更多相关文章
- HTML&CSS基础-前端免费开发工具Hbuilder介绍
HTML&CSS基础-前端免费开发工具Hbuilder介绍 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 工欲善其事必先利其器,想要干好活得有一个好的工具. 一.文本编辑工 ...
- 23----2013.07.01---Div和Span区别,Css常用属性,选择器,使用css的方式,脱离文档流,div+css布局,盒子模型,框架,js基本介绍
01 复习内容 复习之前的知识点 02演示VS创建元素 03div和span区别 通过display属性进行DIV与Span之间的转换.div->span 设置display:inline ...
- 【转】图解CSS的padding,margin,border属性(详细介绍及举例说明)
W3C组织建议把所有网页上的对像都放在一个盒(box)中,设计师可以通过创建定义来控制这个盒的属性,这些对像包括段落.列表.标题.图片以及层.盒模型主要定义四个区域:内容(content).边框距(p ...
- [转]图解CSS的padding,margin,border属性(详细介绍及举例说明)
图解CSS的padding,margin,border属性 W3C组织建议把所有网页上的对像都放在一个盒(box)中,设计师可以通过创建定义来控制这个盒的属性,这些对像包括段落.列表.标题.图片以及层 ...
- 图解CSS的padding,margin,border属性(详细介绍及举例说明)
图解CSS的padding,margin,border属性 W3C组织建议把所有网页上的对像都放在一个盒(box)中,设计师可以通过创建定义来控制这个盒的属性,这些对像包括段落.列表.标题.图片以及层 ...
- CSS中不为人知Zoom属性的使用介绍(IE私有属性)
其实Zoom属性是IE浏览器的专有属性,Firefox等浏览器不支持.它可以设置或检索对象的缩放比例.除此之外,它还有其他一些小作用,比如触发ie的hasLayout属性,清除浮动.清除margin的 ...
- 关于mysql安装到最后一步老是停留在starting server,显示无响应
从昨天晚上到今天安装MySQL花了好长的时间,一直是在后面starting server 这部就显示无响应,查资料了解到是MySQL有残留,有些注册表文件需要手动清理,下面是具体方法. 1.先用卸载软 ...
- 为 Html 5 和 CSS 3.0 而生——Modernizr的介绍和使用
传统浏览器目前不会被完全取代,令你难以将最新的 CSS3 或 HTML5 功能嵌入你的网站. Modernizr 正是为解决这一难题应运而生,作为一个开源的 JavaScript 库,Moderniz ...
- 页面中CSS的四种引入方式的介绍与比较
转自:https://blog.csdn.net/qq_38689666/article/details/79039392 一:行内式 <p style="color:red" ...
随机推荐
- c++ 容器切片反转次序(不拷贝到新容器)
// rotate algorithm example #include <iostream> // cout #include <algorithm> // rotate # ...
- Centos 查看CPU个数、核心数等信息
总核数 = 物理CPU个数 X 每颗物理CPU的核数 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数 查看物理CPU个数 cat /proc/cpuinfo| grep & ...
- Oracle JDBC 连接池
1.简介 数据库连接池负责分配.管理和释放数据库连接,它允许应用程序重复使用一个现有的数据库连接,而不是再重新建立一个:释放空闲时间超过最大空闲时间的数据库连接来避免因为没有释放数据库连接而引起的数据 ...
- arcgis python 获得表字段的唯一值
#获得唯一值 by gisoracle def getuniqueValue(inTable,inField): rows = arcpy.da.SearchCursor(inTable,[inFie ...
- Swift 条件语句
条件语句通过设定的一个或多个条件来执行程序,在条件为真时执行指定的语句,在条件为 false 时执行另外指定的语句. 可以通过下图来简单了解条件语句的执行过程: Swift 提供了以下几种类型的条件语 ...
- post请求导出Excel表格
axios.interceptors.response.use((response) =>{ if(response.config && response.config.resp ...
- android Vitamio Live 实时视频 记录
Vitamio 下载地址: https://github.com/yixia/VitamioBundle/releases https://github.com/yixia/VitamioBundle ...
- 目标检测-Cascade-RCNN
转载:https://zhuanlan.zhihu.com/p/36095768 Cascade R-CNN: Delving into High Quality Object Detection 论 ...
- C++数据结构之排序
一.简单排序 冒泡排序: 插入排序: 逆序对 希尔排序:
- React Native清除缓存实现
清除缓存使用的第三方:react-native-http-cache Github: https://github.com/reactnativecn/react-native-http-cach ...