版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、使用css实现计时功能time demohtml, body height: 100%;body font-family: "microsoft yahei"font-size: 18px;margin: 0;padding: 0;.site-wrapper display: table;width: 100%;height: 100%;min-height: 100%;.site-wrapper-inner vertical-align: middle;display: table-cell;.site-wrapper-content width: 240
2、px;margin: 0 auto;text-align: center;.time margin: 10px 0 0 80px;padding: 0;list-style: none;.time:after content: ""display: block;height: 0;clear: both;visibility: hidden;.time > li text-align: center;float: left;position: relative;overflow: hidden;width: 10px;height: 20px;line
3、-height: 20px;.time > li > div position: absolute;line-height: 20px;keyframes step6 from top: 0;to top: -120px;-moz-keyframes step6 /* firefox */from top: 0;to top: -120px;-webkit-keyframes step6 /* safari 和 chrome */from top: 0;to top: -120px;-o-keyframes step6 /* opera */from top: 0;to top:
4、-120px;keyframes step10 from top: 0;to top: -200px;-moz-keyframes step10 /* firefox */from top: 0;to top: -200px;-webkit-keyframes step10 /* safari 和 chrome */from top: 0;to top: -200px;-o-keyframes step10 /* opera */from top: 0;to top: -200px;.min1 animation: step6 steps(6) 3600s infinite;-moz-anim
5、ation: step6 steps(6) 3600s infinite; /* firefox */-webkit-animation: step6 steps(6) 3600s infinite; /* safari 和 chrome */-o-animation: step6 steps(6) 3600s infinite; /* opera */.min2 animation: step10 steps(10) 600s infinite;-moz-animation: step10 steps(10) 600s infinite; /* firefox */-webkit-anima
6、tion: step10 steps(10) 600s infinite; /* safari 和 chrome */-o-animation: step10 steps(10) 600s infinite; /* opera */.sec1 animation: step6 steps(6) 60s infinite;-moz-animation: step6 steps(6) 60s infinite; /* firefox */-webkit-animation: step6 steps(6) 60s infinite; /* safari 和 chrome */-o-animation
7、: step6 steps(6) 60s infinite; /* opera */.sec2 animation: step10 steps(10) 10s infinite;-moz-animation: step10 steps(10) 10s infinite; /* firefox */-webkit-animation: step10 steps(10) 10s infinite; /* safari 和 chrome */-o-animation: step10 steps(10) 10s infinite; /* opera */.mil1 animation: step10
8、steps(10) 1s infinite;-moz-animation: step10 steps(10) 1s infinite; /* firefox */-webkit-animation: step10 steps(10) 1s infinite; /* safari 和 chrome */-o-animation: step10 steps(10) 1s infinite; /* opera */.mil2 animation: step10 steps(10) 0.1s infinite;-moz-animation: step10 steps(10) 0.1s infinite
9、; /* firefox */-webkit-animation: step10 steps(10) 0.1s infinite; /* safari 和 chrome */-o-animation: step10 steps(10) 0.1s infinite; /* opera */.mil3 animation: step10 steps(10) 0.01s infinite;-moz-animation: step10 steps(10) 0.01s infinite; /* firefox */-webkit-animation: step10 steps(10) 0.01s inf
10、inite; /* safari 和 chrome */-o-animation: step10 steps(10) 0.01s infinite; /* opera */.min1, .min2, .sec1, .sec2, .mil1, .mil2, .mil3 animation-play-state: paused;-moz-animation-play-state: paused; /* firefox */-webkit-animation-play-state: paused; /* safari 和 chrome */-o-animation-play-state: pause
11、d; /* opera */start:checked .time .min1,start:checked .time .min2,start:checked .time .sec1,start:checked .time .sec2,start:checked .time .mil1,start:checked .time .mil2,start:checked .time .mil3 animation-play-state: running;-moz-animation-play-state: running; /* firefox */-webkit-animation-play-st
12、ate: running; /* safari 和 chrome */-o-animation-play-state: running; /* opera */stop:checked .time .min1,stop:checked .time .min2,stop:checked .time .sec1,stop:checked .time .sec2,stop:checked .time .mil1,stop:checked .time .mil2,stop:checked .time .mil3 animation-play-state: paused;-moz-animation-p
13、lay-state: paused; /* firefox */-webkit-animation-play-state: paused; /* safari 和 chrome */-o-animation-play-state: paused; /* opera */reset:checked .time .min1,reset:checked .time .min2,reset:checked .time .sec1,reset:checked .time .sec2,reset:checked .time .mil1,reset:checked .time .mil2,reset:checked .time .mil3 animation: none;-moz-animation: none; /* firefox */-webkit-animation: non
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 中控协议书音量加减反向
- 精神分裂症的药物治疗与护理策略
- 大学柔韧素质及其训练
- 甲状腺影像分级解读
- 2026四川安和精密电子电器股份有限公司招聘电控硬件工程师等岗位3人备考题库及一套完整答案详解
- 老年人智能手机社区
- 2026江西省妇幼保健院产科科研助理招聘2人备考题库及答案详解参考
- 2026福建南平市消防救援局招聘政府专职消防员19人备考题库及答案详解【网校专用】
- 骨科护理新思维
- 医学影像技术及临床应用
- 机械制造技术基础 课件 5.2 影响机械加工精度的因素
- 产品经销协议书
- DB32∕T 5188-2025 经成人中心静脉通路装置采血技术规范
- GB/T 9641-2025硬质泡沫塑料拉伸性能的测定
- 《医疗器械不良事件监测和再评价管理办法》培训试卷+参考答案
- 金融专题党课
- 泊寓框架协议书
- GB/T 41780.4-2025物联网边缘计算第4部分:节点技术要求
- 汽车驾驶员高级工考试题库及答案
- 2025届高考语文专项修改病句专题练习含答案
- 大学英语四级(仔细阅读)专项练习试卷1(共225题)
评论
0/150
提交评论