HTML+CSS求爱表白网站制作_表白网站制作器_表白网站制作软件

❤ 精彩专栏推荐👇🏻👇🏻👇🏻
💂 作者主页: 【进入主页—🚀获取更多源码】
🎓 web前端期末大作业: 【📚HTML5网页期末作业 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (125套) 】
七夕来袭!是时候展现专属于程序员的浪漫了!你打算怎么给心爱的人表达爱意?鲜花礼物?代码表白?还是创意DIY?或者…无论那种形式,快来秀我们一脸吧!



二、📚网站介绍

📒网站文件方面:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;

📙网页编辑方面:可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
其中:
(1)📜html文件包含:其中index.html是首页、其他html为二级页面;
(2)📑 css文件包含:css全部页面样式,3D动态效果,雪花飘落等等
(3)📄 js文件包含:页面炫酷效果实现


三、🔗网站效果

▶️1.视频演示

13-css求婚动画源码

🧩 2.图片演示

在这里插入图片描述


四、💒 网站代码

🧱HTML结构代码


<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" href="wedding.css">
		<title>模仿CSS动画的求婚小动画</title>
	</head>
	<body>
		<div class="w-t">
			<div class="w-t-m">亲爱的,嫁给我好吗?</div>
			<img src="png/boom.png" alt="" class="boom1">
			<img src="png/boom.png" alt="" class="boom2">
			<img src="png/boom.png" alt="" class="boom3">
		</div>
		<div class="w-p">
			<div class="w-m">
				<img src="png/man.png" alt="">
			</div>
			<div class="w-w">
				<img src="png/woman.png" alt="">
			</div>
			<div class="w-f">
				<img src="png/flower.png" alt="">
			</div>
		</div>
		<div class="w-fls">
			<img src="png/flowers1.png" alt="">
			<img src="png/flowers2.png" alt="">
			<img src="png/flowers1.png" alt="">
			<img src="png/flowers2.png" alt="">
			<img src="png/flowers1.png" alt="">
			<img src="png/flowers2.png" alt="">
		</div>
		<div class="w-fls w-2">
			<img src="png/flowers1.png" alt="">
			<img src="png/flowers2.png" alt="">
			<img src="png/flowers1.png" alt="">
			<img src="png/flowers2.png" alt="">
			<img src="png/flowers1.png" alt="">
			<img src="png/flowers2.png" alt="">
		</div>
	</body>
</html>



🏠CSS样式代码


/*top 烟花字体 */
.w-t{
	margin: 100px auto;
	width: 500px;
}
.w-t img{
	opacity: 0;
    animation: bloom 2s ease 1.2s infinite;
}
.w-t img.boom2{
	float: right;
	animation: bloom 2s ease 1.5s infinite;
}
.w-t img.boom3{
	position: absolute;
	margin-top: 40px;
	animation: bloom 2s ease 1.4s infinite;
}
@keyframes bloom{
	0% {
	    transform: scale(0,0);
	}
	100% {
		opacity: 1;
	    transform: scale(1,1);
	}
}
.w-t-m{
	position: absolute;
	left: 50%;
	z-index: 10;
	line-height: 80px;
	color: #ff720a;
	letter-spacing: 5px;
	opacity: 0;
	animation: titleBloom 1s linear 1s both;
	font-size: 26px;
    margin-left: -125px;
}
@keyframes titleBloom{
	0% {
	    transform: translate(-50px);
	}
	100% {
		opacity: 1;
	    transform: translate(0);
	}
}
/*人物类 */
.w-p{
	margin: -50px auto;
	width: 1000px;
	overflow: hidden;
}
.w-m{
	float: left;
	width: 50%;
}
.w-m img{
	margin-right: 0;
	float: right;
	margin-top: 60px;
	animation: toWoman 0.5s ease .5s both;
}
@keyframes toWoman{
	0%{
		opacity: 0;
		transform: translate(-200px);
	}
	100%{
		opacity: 1;
		transform: translate(0);
	}
}
.w-w{
	float: right;
	width: 50%;
}
.w-w img{
	margin-left: 0;
	float: left;
	animation: showW 0.8s ease 0s both;
}
@keyframes showW{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}
.w-f{
    position: absolute;
    z-index: 20;
    left: 50%;
    margin-left: -30px;
    margin-top: 75px;
}
.w-f img{
	width: 60px;
	animation: show 0.4s ease 1s both;
}

@keyframes show{
	0%{
		opacity: 0;
		transform: scale(0.1,0.1);
	}
	100%{
		opacity: 1;
		transform: scale(1,1);
	}
}
.w-p:after{
	clear:both;clear:both;content:'.';display:block;height:0;visibility:hidden;overflow:hidden;
}
/*flowers*/
.w-fls{
	width: 820px;
	margin: 0 auto;
}
.w-fls img{
	height: 120px;
	z-index: 400;
	animation: showFlows 0.4s ease 2.3s both;
}
@keyframes showFlows{
	0%{
		opacity: 0;
		transform: translate(0,200px);
	}
	100%{
		opacity: 1;
		transform: translate(0);
	}
}
.w-2{
	margin-top: -130px;
	padding-left: 100px;
}
.w-2 img{
	animation: showFlows 0.4s ease 2.7s both;
}





五、🎁更多源码

1.如果我的博客对你有帮助 请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!

2.💗【👇🏻👇🏻👇🏻🉑关注我| 获取更多源码】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、等!

📣以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

STU学生网页设计

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值