<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0042)http://js.itivy.com/jiaoben1892/index.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HTML5浪漫爱心表白动画在线演示</title>
<style type="text/css">
@font-face {
font-family: digit;
src: url('digital-7_mono.ttf') format("truetype");
}
</style>
<link href="./HTML5浪漫爱心表白动画在线演示_files/default.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="./HTML5浪漫爱心表白动画在线演示_files/jquery.js"></script>
<script type="text/javascript" src="./HTML5浪漫爱心表白动画在线演示_files/garden.js"></script>
<script type="text/javascript" src="./HTML5浪漫爱心表白动画在线演示_files/functions.js"></script>
</head>
<body>
<div style="text-align:center;clear:both;">
<script type="text/javascript">
</script>
</script>
<div style="display:none"><script language="javascript" type="text/javascript" src="./HTML5浪漫爱心表白动画在线演示_files/4473358.js"></script><a href="http://www.51.la/?4473358" target="_blank"><img alt="51.la 专业、免费、强健的访问统计" src="./HTML5浪漫爱心表白动画在线演示_files/icon_0.gif" style="border:none"></a>
</div><style type="text/css">.source-url{font-size:15px;text-align:center}</style>
<script src="./HTML5浪漫爱心表白动画在线演示_files/follow.js" type="text/javascript"></script>
</div>
<div id="mainDiv">
<div id="content" style="width: 1110px; height: 625px; margin-top: 10px; margin-left: 119.5px;">
<div id="code" style="margin-top: 112.5px;">
</div>
<div id="loveHeart">
<canvas id="garden" width="670" height="625"></canvas>
<div id="words">
<div id="messages">
亲爱的,这是我们相爱在一起的时光。
<div id="elapseClock"><span class="digit">306</span> days <span class="digit">02</span> hours <span class="digit">31</span> minutes <span class="digit">56</span> seconds</div>
</div>
<div id="loveu">
爱你直到永永远远。<br>
<div class="signature">- 李先生</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var offsetX = $("#loveHeart").width() / 2;
var offsetY = $("#loveHeart").height() / 2 - 55;
var together = new Date();
together.setFullYear(2013, 2, 28);
together.setHours(20);
together.setMinutes(0);
together.setSeconds(0);
together.setMilliseconds(0);
if (!document.createElement('canvas').getContext) {
var msg = document.createElement("div");
msg.id = "errorMsg";
msg.innerHTML = "Your browser doesn't support HTML5!<br/>Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+";
document.body.appendChild(msg);
$("#code").css("display", "none")
$("#copyright").css("position", "absolute");
$("#copyright").css("bottom", "10px");
document.execCommand("stop");
} else {
setTimeout(function () {
startHeartAnimation();
}, 5000);
timeElapse(together);
setInterval(function () {
timeElapse(together);
}, 500);
adjustCodePosition();
$("#code").typewriter();
}
</script>
</body></html>
没有合适的资源?快使用搜索试试~ 我知道了~
HTML5浪漫爱心表白动画在线演示源码.zip
![preview](https://csdnimg.cn/release/downloadcmsfe/public/img/white-bg.ca8570fa.png)
共10个文件
js:7个
htm:1个
gif:1个
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
需积分: 5 0 下载量 130 浏览量
2024-04-16
10:09:27
上传
评论
收藏 49KB ZIP 举报
温馨提示
HTML5浪漫爱心表白动画是一个富有创意和情感的网页动画效果,它利用HTML5、CSS3和JavaScript等技术,在网页上呈现出动态、精美的爱心形状,并伴随浪漫的动画效果,为用户带来视觉和情感的双重享受。 这种动画资源通常用于向喜欢的人表达爱意,可以在特定的节日、纪念日或特殊场合下使用,给对方一个惊喜和感动。通过精心设计的动画效果,可以展现出深深的爱意和真诚的表白。 在资源描述方面,HTML5浪漫爱心表白动画通常包含以下要素: 爱心形状设计:使用HTML和CSS创建出精美的爱心形状,可以调整大小、颜色等属性,以适应不同的场景和需求。 动画效果:通过CSS3动画或JavaScript脚本,实现爱心的动态效果,如旋转、跳动、渐变等,让动画更加生动和有趣。 背景与配乐:可以根据需要添加浪漫的背景图片或音乐,营造出更加温馨和浪漫的氛围。 交互功能:可以添加一些交互功能,如点击爱心触发特殊效果、留言板等,增强用户的参与感和体验。
资源推荐
资源详情
资源评论
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
共 10 条
- 1
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/f1513d2099ae4b09a1fcf931739ed0b4_jianing1018.jpg!1)
依邻依伴
- 粉丝: 2731
- 资源: 249
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)