浅谈纯CSS实现轮播
来源:互联网 发布:js特效模板 编辑:程序博客网 时间:2024/05/20 22:35
<!DOCTYPE html><html><head><style type="text/css">.box{position:absolute;width:20px;height:20px;background:grey;color:white;text-align:center;font-family:Microsoft Yahei;}#move1{bottom:0;left:240px;animation:change1 10s ease-out infinite;}#move2{bottom:0;left:260px;animation:change2 10s ease-out infinite;}#move3{bottom:0;left:280px;animation:change3 10s ease-out infinite;}#frame{position:absolute;width:300px;height:200px;overflow:hidden;}#photos img{float:left;width:300px;height:200px;}#photos{position:relative;width:900px; animation:actions 10s ease-out infinite;}@keyframes actions{0%,30%{margin-left:0px;}35%,65%{margin-left:-300px;}70%,100%{margin-left:-600px;}}@keyframes change1{0%,30%{background:red;}35%,65%{background:grey;}70%,100%{background:grey;}}@keyframes change2{0%,30%{background:grey;}35%,65%{background:red;}70%,100%{background:grey;}}@keyframes change3{0%,30%{background:grey;}35%,65%{background:grey;}70%,100%{background:red;}}</style></head><body><div id="frame"><div id="photos"><img id="img1" src="images/background1.png"><img id="img2" src="images/background2.png"><img id="img3" src="images/background3.png"></div><div class="box" id="move1">1</div><div class="box" id="move2">2</div><div class="box" id="move3">3</div></div></body></html>
1 0
- 浅谈纯CSS实现轮播
- 纯css实现轮播效果
- 纯CSS实现图片轮播
- 纯css实现幻灯片轮播效果
- 图片轮播--纯css
- +【CSS3】使用纯css代码实现图片轮播效果
- 纯CSS实现简易轮播(一)
- 浅谈jQuery实现轮播
- 纯css3实现图片轮播
- CSS实现图片轮播
- 浅谈纯CSS实现自适应浏览器宽度的正方形
- 纯js轮播
- 纯原生javascript实现图片轮播切换效果代码。
- CSS实现3D轮播效果
- HTML+CSS+JS实现轮播效果
- 纯CSS代码实现图片轮显
- 纯css实现三角
- 纯CSS实现斜角
- 网络协议的3次握手
- 【日志】log4j的使用配置与参数解析
- 图的遍历之深度优先
- pycharm的一些快捷键
- 二叉搜索树的实现
- 浅谈纯CSS实现轮播
- 1073 - Duplicate Numbers
- 二分查找算法
- UML简介
- Android 部分机型有时UDP消息发送失败
- 企业大数据cloudera manager安装使用
- PHP后端android项目(三)APP主界面九宫格
- 有一张表里面有上百万的数据,在做查询的时候,如何优化?从数据库端,java端和查询语句上回答
- Redis问题汇总