零成本搭建+部署纪念页面♥
预览
https://yjlaugus.gitee.io/loveniuniu/
使用
替换资源
- 图片资源简单替换替换就好
- 音乐使用网页云音乐
评论系统
可以评论试试看o。支持不登陆评论~
集成Valine 评论系统。你只需要改一下api_id
和 api_key
即可。
源代码
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<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>
<style>
body {
-webkit-font-smoothing: antialiased;
font-family: Helvetica Neue, Helvetica, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
background-image: url('');
font-size: 85%;
margin: 0;
}
h2 {
font-size: 220%;
font-weight: 400;
}
#vcomments {
margin: 20px !important;
}
.content {
position: absolute;
width: 100%;
top: 40%;
transform: translate(0, -50%);
text-align: center;
}
.timer {
font-size: 180%;
line-height: 1.5;
margin: 1em 0;
}
.timer b {
color: rgb(253, 99, 125);
}
</style>
<script src='//unpkg.com/valine/dist/Valine.min.js'></script>
</head>
<body>
<div class="content">
<div class='textwidget'>
<div id='lovenyh' style='width: 100%; height: 100px; text-align: center; font-size: 1rem;'> <div id='lovenyhImage' style='width: 220px; margin: 0 auto;'><img src='https://yjlaugus.gitee.io/blog/img/body/ll.jpg' alt='love' style='width: 60px; border-radius: 50%;'><img src='https://yjlaugus.gitee.io/blog/img/body/z.webp' alt='love' style='width: 60px; border-radius: 50%;'><img src='https://yjlaugus.gitee.io/blog/img/body/nn.jpg' alt='love' style='width: 60px; border-radius: 50%;'></div>
<div cllass="Lovetime">
<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
</div>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=298 height=52 src="//music.163.com/outchain/player?type=2&id=434902428&auto=1&height=32"></iframe>
<h2>留言祝福
版权声明:本文为yjlaugus原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。