张玲.我爱你

This commit is contained in:
Villivateur Von 2022-02-12 20:12:58 +08:00
parent 2673824e38
commit b3f9b4bf9c
5 changed files with 8 additions and 22 deletions

View File

@ -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>

BIN
bg.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -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) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB