这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看。 此波共有100个表白网站,可以任意修改和使用,很多人会希望向心爱的男孩女孩告白,生性腼腆的人即使那个TA站在眼前都不敢向前表白。说不出口的话就用网页告诉TA吧~制作一个表白网页告诉TA你的心意,演示如下。

文章目录

  • 一、网页介绍
  • 一、网页效果
  • 二、代码展示
    • 1.HTML代码
    • 2.CSS代码
  • 三、精彩专栏

一、网页介绍

1 网页简介:基于 HTML+CSS+JavaScript 制作七夕情人节表白网页、生日祝福、七夕告白、 求婚、浪漫爱情3D相册、炫酷代码 ,快来制作一款高端的表白网页送(他/她)浪漫的告白,制作修改简单,可自行更换背景音乐,文字和图片即可使用

2.网页编辑:任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。


一、网页效果


二、代码展示

1.HTML代码

代码如下(示例):以下仅展示部分代码供参考~


<!DOCTYPE html><html><head><title>小型婚礼</title><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><link rel="stylesheet" href="css/reset.css" /><link rel="stylesheet" href="css/index.css" /><script type="text/javascript" src="js/jquery-1.10.2.js"></script><script type="text/javascript" src="js/jquery-ui-1.10.2.custom.js"></script><script type="text/javascript" src="js/index.js"></script></head><body style="background:FF9999"><!--[if ie 6]><style type="text/css">.mask {position: absolute; height: 800px;}.pop-box {_position: absolute;}</style><![endif]--><div class="box"><audio src="http://weixinlisheng.jd-app.com/mp3/jiehun.mp3" loop="loop" hidden="hidden" autoplay="autoplay" controls="controls">Newly married happiness.</audio><!-- 场景一 --><div class="first-box"><div class="first-horn"><img src="data:images/first_horn.jpg" /></div><div class="first-txt"><div class="txt1"><img src="data:images/first_txt1.jpg" /></div><div class="txt2"><img src="data:images/first_txt2.jpg" /></div></div></div><!-- 场景二 --><div class="second-box"><div class="second-people"><img src="data:images/second_people.jpg" /></div><div class="second-txt"><img src="data:images/second_txt.jpg" /></div></div><!-- 场景三 --><div class="three-box"><div class="three-img"><img src="data:images/three_img.jpg" /></div></div><!-- 场景四 --><div class="fore-box"><div class="fore-img"><img src="data:images/fore_img.jpg" /></div></div><!-- 场景五 --><div class="five-box"><div class="five-img"><img src="data:images/five_img.jpg" /><div class="u-enter">进入婚礼</div></div></div><!-- 场景六 --><div class="six-box"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div><!-- 场景七 --><div class="seven-box"><div class="clickMe">点我送祝福</div><div class="seven-content"><div class="note-a1"></div><div class="note-a2"></div><div class="note-a3"></div><div class="note-a4"></div><div class="note-a5"></div><div class="note-a6"></div><div class="note-a7"></div><div class="note-a8"></div><div class="note-a9"></div><div class="note-a10"></div><div class="note-a11"></div><div class="note-a12"></div><div class="note-1">一定要幸福哦~</div><div class="note-2">祝你们白头偕老!</div><div class="note-3">早生贵子~</div><div class="note-4">新婚快乐~</div><div class="note-5">生个宝宝认我做干妈!</div><div class="note-6">喜结良缘O(∩_∩)O哈哈哈~</div><div class="note-1">一定要幸福哦~</div><div class="note-2">祝你们白头偕老!</div><div class="note-3">早生贵子~</div><div class="note-4">新婚快乐~</div><div class="note-5">生个宝宝认我做干妈!</div><div class="note-6">喜结良缘O(∩_∩)O哈哈哈~</div></div></div></div><!-- 遮罩层 --><div class="mask"></div><div class="pop-box"><h1>送上祝福语</h1><textarea id="write">写上您的祝福吧~</textarea><div class="u-sure" id="uSure">确定</div></div></body></html>

2.CSS代码

.box {position: relative;width: 960px;height: 810px;margin: 10px auto;overflow: hidden;
}.second-box,
.five-box,
.six-box,
.seven-box {display: none;
}/* 场景一css */.first-horn {position: absolute;top: 30px;left: -422px;
}.first-txt {position: absolute;top: 60px;display: none;
}.first-txt .txt1 {width: 65px;height: 78px;overflow: hidden;
}.first-txt .txt2 {width: 0;height: 78px;overflow: hidden;
}/* 场景二 */.second-people {position: absolute;left: -286px;
}.second-txt {position: absolute;left: 0;top: 383px;display: none;
}/* 场景三 */.three-img {position: absolute;left: -554px;
}/* 场景四 */.fore-img {position: absolute;top: -518px;left: 40px;
}/* 场景五 */.five-img {position: absolute;top: 50px;left: 38px;width: 885px;height: 573px;
}.five-img img {transform: scale(0.4);
}.five-img .u-enter {position: absolute;left: 50%;top: 250px;margin-left: -73px;padding: 10px 30px;border-radius: 5px;background: #D05999;font-size: 20px;color: white;cursor: pointer;
}/* 场景六 */.six-box {position: relative;width: 960px;height: 800px;overflow: hidden;
}.six-box div {position: absolute;width: 100px;height: 100px;background: url("../images/six_center_img.jpg") no-repeat;
}/* 场景七 */.seven-box {position: relative;width: 958px;height: 800px;background: url("../images/seven_bg.jpg") no-repeat top center;border: 1px solid #F4D938;overflow: hidden;
}.clickMe {position: absolute;left: 0;bottom: 0;width: 229px;height: 233px;cursor: pointer;text-indent: -99999px;background: url("../images/clickMe.jpg") no-repeat;z-index: 9999;
}.seven-content {position: relative;width: 790px;height: 540px;margin: 20px auto;background: #f67b93;border-radius: 50px;
}.seven-content div {position: absolute;width: 57px;height: 52px;padding: 15px 5px 5px 10px;background: url("../images/note.png") no-repeat;overflow: hidden;cursor: pointer;z-index: 99;
}.seven-content div.note-a1 {background-position: 0 0;
}.seven-content div.note-a2 {background-position: -110px 0;
}.seven-content div.note-a3 {background-position: -220px 0;
}.seven-content div.note-a4 {background-position: -327px 0;
}.seven-content div.note-a5 {background-position: 0 -150px;
}.seven-content div.note-a6 {background-position: -110px -150px;
}.seven-content div.note-a7 {background-position: -220px -150px;
}.seven-content div.note-a8 {background-position: -327px -150px;
}.seven-content div.note-a9 {background-position: 0 -296px;
}.seven-content div.note-a10 {background-position: -110px -296px;
}.seven-content div.note-a11 {background-position: -220px -296px;
}.seven-content div.note-a12 {background-position: -327px -296px;
}.seven-content div.note-1 {background-position: -1px -440px;color: #494000;
}.seven-content div.note-2 {background-position: -110px -440px;color: #561e67;
}.seven-content div.note-3 {background-position: -220px -440px;color: #07516f;
}.seven-content div.note-4 {background-position: -329px -440px;color: #652f09;
}.seven-content div.note-5 {background-position: 0 -550px;color: #6b0f13;
}.seven-content div.note-6 {background-position: -110px -550px;color: #034914;
}/* 遮罩层 */.mask {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: white;opacity: 0.4;filter: Alpha(opacity=40);z-index: 9999;display: none;
}.pop-box {position: fixed;top: -300px;left: 50%;margin-left: -250px;margin-top: -150px;width: 500px;height: 300px;padding: 10px;background: #c52947;border-radius: 10px;z-index: 99999;
}.pop-box h1 {font-size: 30px;text-align: center;color: white;margin: 5px 0 10px;
}.pop-box textarea {display: block;width: 440px;height: 140px;padding: 10px;margin: 20px auto;resize: none;font-size: 16px;border-radius: 5px;background: white;color: #691323;_margin-left: 270px;
}.pop-box .u-sure {margin: auto;width: 100px;padding: 8px 0;background: #780a1f;border-radius: 3px;text-align: center;font-size: 18px;color: white;font-weight: bold;cursor: pointer;
}

三、精彩专栏

看到这里了就 【点赞,关注,收藏】 三连 支持下吧,你的支持是我创作的动力。

情人节程序员用HTML网页表白【新婚快乐】 HTML5七夕情人节表白网页源码 HTML+CSS+JavaScript相关推荐

  1. 100款 ❤HTML5七夕情人节表白网页源码❤ HTML+CSS+JavaScript 【建议收藏】

    120款❤HTML5七夕情人节表白网页源码❤ HTML+CSS+JavaScript 这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看. 此波共有100 ...

  2. HTML期末大作业~海贼王中乔巴专题漫画学生网页设置作业源码(HTML+CSS+JavaScript)...

    HTML期末大作业~海贼王中乔巴专题漫画学生网页设置作业源码(HTML+CSS+JavaScript) 这次网页主要是介绍在近年来非常受关注的日本超人气漫画 海贼王 作者是尾田荣一郎 主页分为 漫画简 ...

  3. HTML期末大作业~海贼王中乔巴专题漫画学生网页设置作业源码(HTML+CSS+JavaScript)

    HTML期末大作业~海贼王中乔巴专题漫画学生网页设置作业源码(HTML+CSS+JavaScript) 这次网页主要是介绍在近年来非常受关注的日本超人气漫画 海贼王 作者是尾田荣一郎 主页分为 漫画简 ...

  4. HTML网页设计结课作业~仿蘑菇街商城网站源码(HTML+CSS+JS)

    HTML网页设计结课作业~仿蘑菇街商城网站源码(HTML+CSS+JS) 临近期末, 你还在为HTML网页设计结课作业,老师的作业要求感到头大?HTML网页作业无从下手?网页要求的总数量太多?没有合适 ...

  5. HTML5期末大作业:电商购物网站设计——易购电商购物网页设计与实现(31页) 含论文+答辩+PPT 计算机毕设网页设计源码 HTML+CSS+JavaScript web课程设计网页规划与设计...

    HTML5期末大作业:电商网站设计--易购电商购物网页设计与实现(31页) 含论文+PPT 学生DW网页设计作业成品 HTML+CSS+JavaScript web课程设计网页规划与设计 计算机毕设网 ...

  6. 情人节程序员用HTML网页表白【在一起计时】 HTML5七夕情人节表白网页源码 HTML+CSS+JavaScript

    这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看. 此波共有100个表白网站,可以任意修改和使用,很多人会希望向心爱的男孩女孩告白,生性腼腆的人即使那个 ...

  7. 情人节程序员用HTML网页表白【嫦娥奔月(满屏泡泡)】 HTML5七夕情人节表白网页源码 HTML+CSS+JavaScript

    这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看. 此波共有100个表白网站,可以任意修改和使用,很多人会希望向心爱的男孩女孩告白,生性腼腆的人即使那个 ...

  8. 情人节程序员用HTML网页表白【超具创意的网页生日快乐】 HTML5七夕情人节表白网页源码 HTML+CSS+JavaScript

    这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看. 此波共有100个表白网站,可以任意修改和使用,很多人会希望向心爱的男孩女孩告白,生性腼腆的人即使那个 ...

  9. 情人节程序员用HTML网页表白【制作属于我们的爱情相册网页】 HTML5七夕情人节表白网页源码 HTML+CSS+JavaScript

    这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看. 此波共有100个表白网站,可以任意修改和使用,很多人会希望向心爱的男孩女孩告白,生性腼腆的人即使那个 ...

  10. 情人节程序员用HTML网页表白【爱心_文字音乐告白】 HTML5七夕情人节表白网页源码 HTML+CSS+JavaScript

    这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看. 此波共有100个表白网站,可以任意修改和使用,很多人会希望向心爱的男孩女孩告白,生性腼腆的人即使那个 ...

最新文章

  1. iOS开源JSON解析库MJExtension
  2. oracle数据库【表复制】insert into select from跟create table as select * from 两种表复制语句区别...
  3. 大数据之-hadoop知识体系架构---大数据之hadoop工作笔记0001
  4. 分享 :用五个趣味案例教你数据分析的基本思想
  5. php header详解
  6. 大道至简,凯里亚德酒店成为酒店投资圈万众瞩目的“新”星
  7. 四叶草黑苹果启动器:Clover EFI bootloader for Mac
  8. Solaris系统root用户无法直接登录
  9. Axure 9母版引发事件
  10. 匠能电子:55寸0.88mm拼接屏与1.7mm拼接屏的对比效果
  11. 盘点2022年最受欢迎的6大前端框架
  12. 城市生态规划关键技术方法之六:情景分析方法
  13. Eclipse中的 项目编码设置
  14. 字符串,列表,元组,及综合训练
  15. JavaMail:使用163,QQ和本地服务器邮件发送
  16. Week2 Assignment - Princeton-Algorithms-PartI
  17. 复旦大学管理学院2017年考博(高级微观经济学+管理理论综合)真题,高微老师上课资料
  18. 威尔逊定理公式的理解
  19. $.ajaxSetup is not a function
  20. R使用仿真数据快速构建列线图(nomogram)示例

热门文章

  1. 交通灯—VHDL设计
  2. 几种防鼠光缆的种类及优缺点分析!
  3. 软件工程——软件维护
  4. 软件工程(软件维护)
  5. 初级电工技术实训考核装置
  6. panasonic打印机驱动下载
  7. 风投围猎移动互联网:初现估值泡沫与马太效应
  8. 人工智能在围棋程序中的应用
  9. 【校招VIP】测试脚本语言之系统状态(内存、网络)
  10. 密码学·编码类密码·CTF常见考察密码