美文网首页
2022-03-08

2022-03-08

作者: 时域屏蔽 | 来源:发表于2022-03-08 16:21 被阅读0次
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>爱你的人</title>
    </title>

    <style type="text/css">
        @font-face {
            font-family: digit;
            src: url('digital-7_mono.ttf') format("truetype");
        }
    </style>

    <link href="css/default.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/garden.js"></script>
    <script type="text/javascript" src="js/functions.js"></script>

</head>

<body>

    <div id="mainDiv">
        <div id="content">
            <div id="code">
                <span class="comments">/**</span><br />
                <span class="space" /><span class="comments">*1990—10-03,</span><br />
                <span class="space" /><span class="comments">*1993-01-28.</span><br />
                <span class="space" /><span class="comments">*/</span><br />
                Boy  name = <span class="keyword">Mr</span> 钱<br />
                Girl name = <span class="keyword">Mrs</span> 纪<br />
                <span class="comments">// Fall in love river. </span><br />
                The boy love the girl;<br />
                <span class="comments">// They love each other.</span><br />
                The girl loved the boy;<br />
                <span class="comments">// AS time goes on.</span><br />
                The boy can not be separated the girl;<br />
                <span class="comments">// At the same time.</span><br />
                The girl can not be separated the boy;<br />
                <span class="comments">// Both wind and snow all over the sky.</span><br />
                <span class="comments">// Whether on foot or 5 kilometers.</span><br />
                <span class="keyword">The boy</span> very <span class="keyword">happy</span>;<br />
                <span class="keyword">The girl</span> is also very <span class="keyword">happy</span>;<br />
                <span class="placeholder" /><span class="comments">// Whether it is right now</span><br />
                <span class="placeholder" /><span class="comments">// Still in the distant future.</span><br />
                <span class="placeholder" />The boy has but one dream;<br />
                <span class="comments">// The boy wants the girl could well have been happy.</span><br />
                <br>
                <br>
                I want to say:<br />
                Baby, I love you forever;<br />
            </div>
            <div id="loveHeart">
                <canvas id="garden"></canvas>
                <div id="words">
                    <div id="messages">
                        亲爱的,这是我们相爱在一起的时光。
                        <div id="elapseClock"></div>
                    </div>
                    <div id="loveu">
                        爱你直到永永远远。<br />
                        <div class="signature">- 爱你的人</div>
                    </div>
                </div>
            </div>
        </div>
        <div id="copyright">
            <a href="#">....</a><br />
            <a href="#">....</a><br />

        </div>
    </div>

    <script type="text/javascript">
        var offsetX = $("#loveHeart").width() / 2;
        var offsetY = $("#loveHeart").height() / 2 - 55;
        var together = new Date();
        together.setFullYear(2018, 10, 05);
        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>

相关文章

  • JavaScript:获取数组前N位元素

    2022-03-08 周二

  • 橙子的ScalersTalk第六轮新概念朗读持续力训练Day 1

    练习材料: [Day 2721 2022-03-08] Lesson 25-1 The Cutty Sark On...

  • 2022-03-08

    2022-03-08坚持分享第1254天 读《建构解决之道》P263-267 感悟:灵活运用关系问句及评论问句,以...

  • 女神节的男同胞们

    2022-03-08 晴 周二 今天是半边天的节日。 昨天,工作群里说,早上上班的时候,单位领导会在...

  • 2022-03-08 心态需要改变

    2022-03-08 女生节,下午放半天假,我开完会后,大概3点半左右 出去溜达。感受最深刻的就是 自由职业真好,...

  • 0127行动|子弹笔记

    2022-03-08 北京 晴天 女神节快乐今天日出和日落都很美,特别是傍晚夕阳真的太有能量了。了解了慈济环保,北...

  • 生活里面最好的教育是智慧

    生活里面最好的教养是智慧 吉祥如意幸福久久说 2022-03-08 文/吉祥如意幸福久久 生活俗话常常在说,枪打出...

  • 时间该花在值得人和事上

    幸福日志2022-03-08 周二 晴 现在对于我,时间越来越重要,几乎时间就是金钱,对于如此珍贵的时间,我只愿意...

  • 2022-03-08

    07:45 - 08:25昨日回顾 ——【出门反思】此前起床习惯性经过一周末全部被打乱,但这也给我新的思考,把这些...

  • 2022-03-08

    近期收藏的高质杂句 1.有话就说 不要憋着 爱你的人没有读心术 2.有些事心里清楚就好 不必去验证 你知道的 问清...

网友评论

      本文标题:2022-03-08

      本文链接:https://www.haomeiwen.com/subject/lhvarrtx.html