本文实例为大家分享了js实现时间表动态效果的具体代码,供大家参考,具体内容如下
这里用到的是Date时间类
日期类 时间表 #box{ background:url(img/1.jpg) no-repeat; width: 600px; height: 600px; margin: 0 auto; position: relative; } #m,#s,#h{position: absolute;top: 0px;left:50%;margin-left: -15px;} #h{background:url(img/2.png) no-repeat;width: 30px;height: 600px;position: absolute} #m{background: url(img/3.png) no-repeat;width: 30px;height: 600px;} #s{background: url(img/4.png) no-repeat;width: 30px;height: 600px;}
效果图
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持考高分网。



