张玲.我爱你
This commit is contained in:
parent
2673824e38
commit
b3f9b4bf9c
19
README.md
19
README.md
|
@ -1,18 +1,3 @@
|
|||
# 程序员的浪漫
|
||||
# LOVE.VVZERO.COM 张玲.我爱你
|
||||
|
||||
## 示例网页
|
||||
[http://thinkhard.tech/romantic_page/](http://thinkhard.tech/romantic_page/)
|
||||
|
||||
## 使用方法
|
||||
|
||||
原来 Gitpages 还可以这么使用,如果正在使用 Gitpages 搭建博客的话,可以将同个账号下另一个仓库 Html 网页进行显示,访问地址示例为
|
||||
|
||||
`http://userName.github.io/romantic_page`
|
||||
|
||||
![demo](https://ws1.sinaimg.cn/large/c3a916a7gy1fnqsygoap5j20le09e3z7.jpg)
|
||||
|
||||
## 效果图
|
||||
|
||||
![](./result.gif)
|
||||
|
||||
点 **Star** 或者 **Fork 的人**,祝你们幸福哦 ~
|
||||
Forked from <https://github.com/wangshub/romantic_page>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
11
index.html
11
index.html
|
@ -7,12 +7,13 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<title>恋爱计时器</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<title>张玲.我爱你</title>
|
||||
<style>
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-family: Helvetica Neue, Helvetica, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
||||
background-image: url('bg.jpg');
|
||||
background-color: #FFCC99;
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -44,15 +45,15 @@
|
|||
|
||||
<body>
|
||||
<div class="content">
|
||||
<h2>呆呆,我们已经在一起了</h2>
|
||||
<h2>猪,我们已经在一起了</h2>
|
||||
<div class="timer">
|
||||
<b id="d"></b> Days <b id="h"></b> Hours <b id="m"></b> Minutes <b id="s"></b> Seconds
|
||||
<b id="d"></b> 天 <b id="h"></b> 时 <b id="m"></b> 分 <b id="s"></b> 秒
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function timer() {
|
||||
var start = new Date(2013, 12, 1); // 2015.7.2
|
||||
var start = new Date(2016, 9, 21); // 2016.10.21
|
||||
var t = new Date() - start;
|
||||
var h = ~~(t / 1000 / 60 / 60 % 24);
|
||||
if (h < 10) {
|
||||
|
|
BIN
result.gif
BIN
result.gif
Binary file not shown.
Before Width: | Height: | Size: 4.8 MiB |
Loading…
Reference in New Issue