当前位置:网站首页>创意代码表白
创意代码表白
2022-08-05 00:37:00 【ximingx】
创意代码表白
以程序员的方式撒狗粮,专业浪漫,值得拥有!
原文地址: https://github.com/lbb00/Web-Love
本人并不具有这个网页的版权,如涉及侵权请联系我。
1. 效果展示


2. 下载
# 首先将仓库克隆下来, 需要具有 git 环境
$ git clone https://github.com/lbb00/Web-Love.git

3. 自定义内容
第一张图片"Click Here"的文字,位于js/love.js:172
ctx.font = "12px 微软雅黑,Verdana";
ctx.fillText("click here", 23, 16); // 修改这里
第二张图片中Our Stroy直接写在index.html中的
<span class="say"> Our Story</span><br>
<span class="say"> </span><br>
<span class="say"> For 龙宝宝 & 龙宝宝 </span><br>
<span class="say"> </span><br>
<span class="say"> 还记得我们相识的时候吗, 或许是缘分,或许是注定的。</span><br>
<span class="say"> </span><br>
<span class="say"> 就像一场梦一样,有开心,也有吵闹。</span><br>
<span class="say"> </span><br>
<span class="say"> 彼此依赖,彼此关心,彼此温暖,谢谢你这么包容我,喜欢我,爱我。</span><br>
<span class="say"> </span><br>
<span class="say"> 我也爱你的善良,温柔,就是太容易吃醋了。。。</span><br>
<span class="say"> </span><br>
<span class="say"> 我性格好多缺点你也都看到。。。</span><br>
<span class="say"> </span><br>
<span class="say"> 我想要和你在一起真实的感受生命,和你生活在一起,嫁给我吧!</span><br>
<span class="say"> </span><br>
<span class="say"> ..永远的..</span><br>
<span class="say"> </span><br>
<span class="say"><span class="space"></span>龙宝宝 与 龙宝宝</span>
第二张图片中的时间初始值设置在index.html最底部的script中
var textAnimate = eval(Jscex.compile("async",
function() {
var together = new Date();
together.setFullYear(1996, 11, 16); //时间年月日
together.setHours(12); //小时
together.setMinutes(0); //分钟
together.setSeconds(0); //秒前一位
together.setMilliseconds(0); //秒第二位
$("#code").show().typewriter();
$("#clock-box").fadeIn(500);
while (true) {
timeElapse(together);
$await(Jscex.Async.sleep(1000));
}
实话实说, 只是想嫖一个胸章而已
边栏推荐
- 2022杭电多校第三场 L题 Two Permutations
- The principle of NMS and its code realization
- 标识符、关键字、常量 和变量(C语言)
- 翁恺C语言程序设计网课笔记合集
- MongoDB construction and basic operations
- 僵尸进程和孤儿进程
- 《MySQL入门很轻松》第2章:MySQL管理工具介绍
- Countdown to 1 day!From August 2nd to 4th, I will talk with you about open source and employment!
- oracle创建用户以后的权限问题
- 英特尔WiFi 7产品将于2024年亮相 最高速度可达5.8Gbps
猜你喜欢
随机推荐
After the staged testing is complete, have you performed defect analysis?
tiup status
Pytorch使用和技巧
论文解读( AF-GCL)《Augmentation-Free Graph Contrastive Learning with Performance Guarantee》
oracle create user
2022牛客多校训练第二场 J题 Link with Arithmetic Progression
could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
00、数组及字符串常用的 API(详细剖析)
could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
Software Testing Interview Questions: What aspects should be considered when designing test cases, i.e. what aspects should different test cases test against?
gorm联表查询-实战
E - Many Operations (按位考虑 + dp思想记录操作后的结果
2022 Hangzhou Electric Power Multi-School Session 3 Question L Two Permutations
日志(logging模块)
英特尔WiFi 7产品将于2024年亮相 最高速度可达5.8Gbps
阅读笔记:如何理解DevOps?
E - Distance Sequence (prefix and optimized dp
Flask框架 根据源码分析可扩展点
Software testing interview questions: Have you used some tools for software defect (Bug) management in your past software testing work? If so, please describe the process of software defect (Bug) trac
tiup update









