html+css轮播
来源:互联网 发布:js数据写入excel文件 编辑:程序博客网 时间:2024/05/16 14:58
<strong><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <title>MyHtml.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <!--<link rel="stylesheet" type="text/css" href="./styles.css">--><style type="text/css">*{margin:0px;padding:0px;}.cont{width:100%;height:450px;/*background:#6901ab*/;/*超粗父亲内容的子项*/overflow:hidden; position:relative;cursor:pointer;}.cont .banner{width:100%;height:450px;position:absolute;top:0px;left:0px;animation:play 5S infinite ease ;}.cont .banner li{width:100%;height:450px;list-style:none}.cont .banner li:nth-child(1){background:url("images/4.jpg") center no-repeat;}.cont .banner li:nth-child(2){background:url("images/1.jpg") center no-repeat;}.cont .banner li:nth-child(3){background:url("images/3.jpg") center no-repeat;}.cont .banner li:nth-child(4){background:url("images/2.jpg") center no-repeat;}.cont .banner li:nth-child(5){background:url("images/5.jpg") center no-repeat;}.cont .button{width:450px ; height:10px ;position:absolute;bottom:35px ;right:20px;}.cont .button li{list-style:none;height:15px;width:60px;background:rgba(0,0,0,0.5);float:left;margin-right:10px;border-radius:5px; }.cont .button #lp{position:top:0px ; left:0px;position:absolute;animation:mplay 5S infinite ease ;}@keyframes play{0%{top:0px;}19%{top:0px;}20%{top:-450px;}39%{top:-450px;}40%{top:-900px;}59%{top:-900px;}60%{top:-1350px;}79%{top:-1350px;}80%{top:-1800px;}99%{top:-1800px;}100%{top:0px;}}@keyframes mplay{0%{left:0px;background:#FF6633;}19%{left:0px;background:#FF6633;}20%{left:70px;background:#c4002;}39%{left:70px;background:#c4002;}40%{left:140px;background:#FF6633;}59%{left:140px;background:#FF6633;}60%{left:210px;background:#FF6633;}79%{left:210px;background:#FF6633;}80%{left:280px;background:#FF6633;}99%{left:280px;background:#FF6633;}100%{left:0px;background:#FF6633;}}.cont:hover .banner{animation-play-state:paused;}/*动画暂停*/.cont:hover .button #lp{animation-play-state:paused;}/*动画暂停*/</style> </head> <body> <div class="cont"> <ul class="banner"> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> <ul class="button"> <li></li> <li></li> <li></li> <li></li> <li></li> <li id="lp"></li> </ul> </div> </body></html></strong>
0 0
- html+css轮播
- html,js,css轮播插件
- HTML+CSS+JS实现轮播效果
- JS原生轮播-基础篇(HTML+CSS)部分
- HTML+CSS+JQ实现图片轮播效果
- html+css+js实现原生轮播特效
- css轮播
- 图片轮播--纯css
- CSS实现图片轮播
- CSS + jQuery banner 轮播
- 基于css的轮播
- bootstrap轮播HTML代码
- html+jqery+css___轮播
- CSS图片轮播组件布局方案
- 纯css实现轮播效果
- 纯CSS实现图片轮播
- 浅谈纯CSS实现轮播
- css示例学习----图片轮播
- c++ 纯虚函数+动态、静态关联
- c++ 多重继承 + 虚基类
- [LeetCode]189.Rotate Array
- 如何在现有 SharePoint 服务器上安装 Power Pivot for SharePoint
- c++ 构造函数重定义 + 运算符重载、流重载
- html+css轮播
- Codeforces 514D R2D2 and Droid Army RMQ问题
- 巴贝奇的差分机
- c++ 继承 + 构造、析构函数
- iOS视频播放代码
- 树和二叉树的应用举例(相似二叉树,由先序和中序、中序和后序确定二叉树)
- 寒假结束了,又要开学了。。
- PHP操作json
- 每天进步一点点——五分钟理解一致性哈希算法(consistent hashing)