这是一款数字时钟动画,数字又多个小爱心组成,又何问起整理,随着时间推进,每一秒钟新数字替换旧数字,旧数字离去使用天女散花动画,花是五颜六色的.

查看效果:
http://hovertree.com/texiao/html5/48/

推荐其他时钟:
http://hovertree.com/h/bjaf/o0yqj1ly.htm
http://hovertree.com/h/bjaf/hoverclock.htm


代码如下:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 Canvas爱心时钟代码 - 何问起</title>

</head>
<body>
<canvas id="canvas"></canvas>
<script type="text/javascript" src="http://hovertree.com/texiao/html5/48/js/digit.js"></script>
<script type="text/javascript" src="http://hovertree.com/texiao/html5/48/js/app.js"></script>
<div style="text-align:center;margin-top:50px; font:normal 14px/24px 'MicroSoft YaHei';">
    <h2>HTML5 Canvas爱心时钟</h2>
<p>来源:<a href="http://hovertree.com/h/bjag/oppeym4s.htm" target="_blank">何问起</a></p>
</div>
</body>
</html>

转自:http://hovertree.com/h/bjag/oppeym4s.htm

更多特效:http://www.cnblogs.com/jihua/p/webfront.html

posted on 2017-07-22 11:02  计划  阅读(9466)  评论(0编辑  收藏  举报