SOURCE

console 命令行工具 X clear

                    
>
console
<!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" />
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>来自程序员的表白</title>

<style type="text/css">
@font-face {
	font-family: digi;
	src: url('digital-7_mono.ttf') format("truetype");
}
	span{font-size: 13px;color:#fff}
	body{background:#fff;}
  
</style>

	<link rel="stylesheet" type="text/css" href="http://sandbox.runjs.cn/uploads/rs/64/pkiv8cab/default.css"> 
	<script type="text/javascript" src="http://sandbox.runjs.cn/uploads/rs/64/pkiv8cab/functions.js"></script>
	<script type="text/javascript" src="http://sandbox.runjs.cn/uploads/rs/64/pkiv8cab/garden.js"></script>
	<script type="text/javascript" src="http://sandbox.runjs.cn/uploads/rs/64/pkiv8cab/jquery.js"></script>
	<script type="text/javascript" src="http://sandbox.runjs.cn/uploads/rs/64/pkiv8cab/functions.js"></script>
</head>

<body>
  <div class="bg">
<div id="mainDiv">
	<div id="content">
		<div id="code" style="width:200px"><!-- 这个宽度主要是在手机上看 -->
			<span class="comments">/**</span><br />
			<span class="space"/><span class="comments">*2018-01-22,</span><br />
			<span class="space"/><span class="comments">*To Now,</span><br />
			<span class="space"/><span class="comments">*/</span><br />
			曾经有一段真挚的爱情<span class="keyword">  </span><br />
		摆在我的面前<span class="keyword">  </span><br />
			<span class="comments">我却没有珍惜,</span><br />
		直到失去才追悔莫及.<br />
			<span class="comments">人世间最大的痛苦莫过于此.</span><br />
			如果上天再给我;<br />
			<span class="comments">一次机会的话,</span><br />
			我一定会对那女孩;<br />
			<span class="comments">说三个字:</span><br />
			我爱你.<br />
			<span class="comments">如果非要在这段爱情.</span><br />
			<span class="comments">前加个期限的话,.</span><br />
			<span class="keyword">我希望是一万年</span> <span class="keyword">!!!</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" style="width:80%;height:80%"></canvas>
			<div id="words">
				<div id="messages" style="font-size: 24px;margin-top: -46px;color:#fff">
					&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp送给蔡叶娟小姐
					<div id="elapseClock" style="font-size: 12px;margin: 10px 100px 10px 0; "></div>
				</div>
				<div id="loveu" style="margin-top: 45px; margin-right: 120px;text-align: center;">
					祝大家万事如意。<br/>
					<div class="signature">-叶威</div>
				</div>
			</div>
		</div>
	</div>
</div>
  <div>
    
    <audio  autoplay="autoplay">

<source src="//music.163.com/outchain/player?type=2&id=2639477&auto=1&height=66" type="audio/mpeg">
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 
			src="//music.163.com/outchain/player?type=2&id=2639477&auto=1&height=66"></iframe>
<script type="text/javascript">

		document.getElementById('bgaudio').play();

</script>

</audio>
  </div>
    </div>
  <div class="wrapper">
    <svg viewBox="0 0 600 300"> 
        <symbol id="s-text">
            <text text-anchor="middle" x="70%" y="50%" dy=".35em"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp缘来如此 </text>
        </symbol>

        <use xlink:href="#s-text" class="text"></use>
        <use xlink:href="#s-text" class="text"></use>
        <use xlink:href="#s-text" class="text"></use>
        <use xlink:href="#s-text" class="text"></use>
        <use xlink:href="#s-text" class="text"></use>
    </svg>
</div>
<script type="text/javascript">
var offsetX = $("#loveHeart").width() / 2;
var offsetY = $("#loveHeart").height() / 2 - 55;
var together = new Date();
together.setFullYear(2016, 6, 26);
together.setHours(24);
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>
</div>
</body>
</html>
.bg{
background:
radial-gradient(black 15%, transparent 16%) 0 0,
radial-gradient(black 15%, transparent 16%) 8px 8px,
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
background-color:#282828;
background-size:16px 16px;
  width:250%;
  height:210%;
  position:absolute;
  z-index:-1
}
html,body {
    height: 100%;
    font: 16px Microsoft YaHei;
}
* { margin: 0;padding: 0; }
.wrapper {
    position: relative;
    height: 100%;
    left: -15%;
    bottom:42%;
}
.container {
    width: 700px;
    height: 450px;
    background: rgba(255,255,255,.8);
    border-radius: 2px;
    box-shadow: 0 0 15px #ccc;
    text-align: center;
    padding: 20px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.text {
    fill: none;
    stroke-width: 1;
    font-size: 35px;
    stroke-linejoin: round;
    stroke-dasharray: 70 330;
    stroke-dashoffset: 0;
    -webkit-animation: stroke 6s infinite linear;
    animation: stroke 6s infinite linear;
}
.text:nth-child(5n + 1) {
    stroke: #f2385a;
    -webkit-animation-delay: -1.2s;
    animation-delay: -1.2s;
}
.text:nth-child(5n + 2) {
    stroke: #f5a503;
    -webkit-animation-delay: -2.4s;
    animation-delay: -2.4s;
}
.text:nth-child(5n + 3) {
    stroke: #e9f1df;
    -webkit-animation-delay: -3.6s;
    animation-delay: -3.6s;
}
.text:nth-child(5n + 4) {
    stroke: #56d9cd;
    -webkit-animation-delay: -4.8s;
    animation-delay: -4.8s;
}
.text:nth-child(5n + 5) {
    stroke: #3aa1bf;
    -webkit-animation-delay: -6s;
    animation-delay: -6s;
}
@-webkit-keyframes stroke {
    100% {
        stroke-dashoffset: -400;
    }
}
@keyframes stroke {
    100% {
        stroke-dashoffset: -400;
    }
}
svg {
    width: 100%;
    height: 100%;
    position: absolute;
}