HTML5七夕情人节表白网页❤浪漫星空-爱心相册❤ HTML+CSS+JS 求婚 html生日快乐祝福代码网页 520情人节告白代码 程序员表白源码 3D旋转相册 js烟花代码 css爱心表白
这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看。 此波共有100个表白网站,可以任意修改和使用,源码已上传,演示网址如下。
🧡文章末尾-已经附上源码下载地址
作品介绍
1.网页作品简介
:基于 HTML+CSS+JavaScript 制作七夕情人节表白网页, 生日祝福, 七夕告白, 求婚, 浪漫爱情3D相册,炫酷代码
,已经兼容手机端和电脑端, 快来制作一款高端的表白网页送(他/她)生日祝福网页,制作修改简单, 需替换图片和文字即可.可自行更换背景音乐。
2.网页作品编辑
:任意HTML编辑软件(如:DW、HBuilder、NotePAD 、Vscode 、Sublime 、Webstorm、 Notepad++
)均可修改网页。
文章目录
一、作品展示
二、文件目录
三、代码实现
<html>
<head>
<meta charset="utf-8" />
<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<style type="text/css">
@import url("https://fonts.googleapis.com/css?family=Montserrat:200,300,400,600");
.more-pens {
position: fixed;
left: 20px;
bottom: 20px;
z-index: 10;
font-family: "Montserrat";
font-size: 12px;
}
a.white-mode,
height: 100%;
}
.img {
position: absolute;
left: 50%;
top: 60%;
transform: translate(-50%, -50%);
width: 440px;
height: 430px;
}
#pinkboard {
position: relative;
top: 0%;
left: 0%;
height: 429px;
}
.STARDUST1 {
position: relative !important;
top: -60px;
}
.STARDUST2 {
position: relative !important;
top: -40px;
}
.STARDUST3 {
position: relative !important;
top: -20px;
}
/* 星空css */
html,
body {
padding: 0px;
margin: 0px;
width: 100%;
height: 100%;
position: fixed;
}
body {
display: flex;
justify-content: center;
align-items: center;
-webkit-filter: contrast(120%);
filter: contrast(120%);
background-image: radial-gradient(
1600px at 70% 120%,
rgba(33, 39, 80, 1) 10%,
#020409 100%
) !important;
/* background-color: black; */
}
.container2 {
/* z-index: 8; */
position: absolute;
width: 100%;
height: 100%;
background-image: radial-gradient(
1600px at 70% 120%,
rgba(33, 39, 80, 1) 10%,
#020409 100%
) !important;
}
.content {
width: inherit;
height: inherit;
width: 100%;
height: 100%;
background-image: radial-gradient(
1600px at 70% 120%,
rgba(33, 39, 80, 1) 10%,
#020409 100%
) !important;
}
#universe {
width: 100%;
height: 100%;
}
#footerContent {
font-family: sans-serif;
font-size: 110%;
color: rgba(200, 220, 255, 0.3);
width: 100%;
position: fixed;
bottom: 0px;
padding: 20px;
text-align: center;
z-index: 20;
}
/* #footer {
position: absolute;
bottom: 0px;
height: 300px;
width: 100%;
} */
#scene