当前位置:网站首页>创意代码表白
创意代码表白
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));
}
实话实说, 只是想嫖一个胸章而已
边栏推荐
- E - Distance Sequence (prefix and optimized dp
- Mysql_12 多表查询
- node uses redis
- Pytorch usage and tricks
- TinyMCE disable escape
- MAUI Blazor 权限经验分享 (定位,使用相机)
- [idea] idea configures sql formatting
- D - I Hate Non-integer Number (选数的计数dp
- The method of freely controlling concurrency in the sync package in GO
- Software testing interview questions: test life cycle, the test process is divided into several stages, and the meaning of each stage and the method used?
猜你喜欢
随机推荐
机器学习(公式推导与代码实现)--sklearn机器学习库
怎样进行在不改变主线程执行的时候,进行日志的记录
Software Testing Interview Questions: What do you think about software process improvement? Is there something that needs improvement in the enterprise you have worked for? What do you expect the idea
Software Testing Interview Questions: What's the Difference Between Manual Testing and Automated Testing?
lua 如何 实现一个unity协程的工具
翁恺C语言程序设计网课笔记合集
TinyMCE disable escape
进程间通信和线程间通信
leetcode: 267. Palindromic permutations II
Software test interview questions: BIOS, Fat, IDE, Sata, SCSI, Ntfs windows NT?
Will domestic websites use Hong Kong servers be blocked?
2022杭电多校第一场 1004 Ball
软件测试面试题:软件都有多少种分类?
2022多校第二场 K题 Link with Bracket Sequence I
tiup telemetry
node uses redis
如何用 Solidity 创建一个“Hello World”智能合约
Helm Chart
tiup telemetry
Software Testing Interview Questions: What is Software Testing?The purpose and principle of software testing?