全新自适应地址发布页HTML源码【手机端】【pc端】

前言

🥇个人主页@MIKE笔记
🥈文章专栏网站源码合集

全新自适应地址发布页HTML源码【手机端】【pc端】
在这里插入图片描述
在这里插入图片描述

源码

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>发布页_MIKE笔记</title>
		<meta name="renderer" content="webkit" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
		<style>
			*{margin:0;padding:0;font-family: "微软雅黑";box-sizing: border-box;}
			body{min-height:100vh;padding:140px 0;background:linear-gradient(to right, #bb313e25, #bb313e25, #d7222925, #dd4a1625, #e4761525, #f5c50025, #f0e92725, #b1ce2425, #48a93525, #03944525, #157c4f25, #176a5825, #1b556325, #1d386f25, #1d386f25, #20277825, #52266325, #8a244b25);}
			.main{max-width:1300px;width:100%;margin:0 auto;display: flex;justify-content: center;align-items: center;}
			.item{flex:1;width:0;height:550px;border-radius:15px;position:relative;padding:50px 40px;}
			.item img{height:160px;width:160px;padding:20px;border:2px solid rgba(255,255,255,0.5);border-radius:15px;display:block;margin:0 auto;}
			.item h3{color:#FFF;text-align: center;font-size:26px;line-height:50px;margin-top:20px;}
			.item p{color:#FFF;line-height:25px;font-size:15px;margin-top:10px;}
			
			.item .btns{display:flex;flex-direction: row;align-items: center;justify-content: center;margin-top:100px;}
			.item a{text-decoration:none;display:block;width:180px;line-height:52px;text-align:center;border-radius:100px;background:#FFF;font-size:17px;font-weight:bold;cursor: pointer;}
			.item a:hover{opacity: 0.8;}
			@media screen and (max-width: 730px) {
			    body{
			        padding:20px;
			    }
                .main {
                    display:block;
                }
                .item{
                    width:100%;
                    margin:0!important;
                    margin-bottom:20px!important;
                    transform: scale(1)!important;
                }
            }
		</style>
	</head>
	<body>
		<div class="main">
			<div class="item" style="background:linear-gradient(130deg,#facf41,#f89e6d);z-index:3;transform:scale(1);">
				<img src="static/picture/77_icon.png" />
				<h3>MIKE笔记</h3>
				<p style="color: #FFF;">该网站是一个聚合市面上所有活动线报的一个网站,想做网站或想买项目的都可以来这里。</p>
				<div class="btns">
				    <a style="color:#f8a26a;" href="https://blog.csdn.net/m0_51607907?type=blog" target="_blank">立即进入</a>
			    	<a style="color:#f8a26a;margin-left:30px;" href="https://blog.csdn.net/m0_51607907?type=blog" target="_blank">商务合作</a>
				</div>
			</div>
			<div class="item" style="background:#6084e2;z-index:2;transform:scale(0.97);margin-left:-15px;">
				<img src="static/picture/logo.png" />
				<h3>MIKE笔记</h3>
				<p style="color: #FFF;">打破传统客户找货、实现一人找货万人报价,实时更新多种类商家商品,所有商品都是由商家自行发布</p>
				<div class="btns">
    				<a style="color:#6084e2;" href="https://blog.csdn.net/m0_51607907?type=blog" target="_blank">立即进入</a>
				</div>
			</div>
			<div class="item" style="background:url('static/images/hyzd_bg.png')no-repeat center center;background-size:cover;margin-left:-30px;z-index:1;transform:scale(0.94);">
				<img src="static/picture/hyzd_icon.png" />
				<h3>MIKE笔记</h3>
				<p style="color: rgba(255,255,255,0.8);">该网站是一个聚合市面上所有活动线报的一个网站,想做网站或想买项目的都可以来这里。</p>
				<div class="btns">
    				<a style="color:#000;" href="https://blog.csdn.net/m0_51607907?type=blog" target="_blank">立即进入</a>
    				<a style="color:#000;margin-left:30px;" href="https://blog.csdn.net/m0_51607907?type=blog" target="_blank">商务合作</a>
				</div>
			</div>
		</div>
	</body>
</html>

完整源码:点击下载 -密码:ea9f

总结

📣特别声明

【1】此文章全部都是依靠自己的学习理解来写,难免可能会出现有错误的地方,

【2】如果大家以后阅读的时候发现有问题,那就麻烦到下方评论区来进行错误指出,使错误尽快做出改正,

【3】在此,感谢大家的阅读与支持!🤝💦🎉

注意:本文仅提供学习!!!

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
全新自适应地址发布页HTML源码如下: ```html <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>全新自适应地址发布页</title> <style> /* CSS样式 */ body { font-family: Arial, sans-serif; background-color: #f2f2f2; margin: 0; padding: 0; } .container { max-width: 600px; margin: 0 auto; padding: 20px; } h1 { color: #333; text-align: center; margin-top: 0; } form { background-color: #fff; padding: 20px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } label { display: block; margin-bottom: 10px; } input[type="text"], textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; } button { background-color: #333; color: #fff; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #555; } </style> </head> <body> <div class="container"> <h1>全新自适应地址发布页</h1> <form action="/submit" method="post"> <label for="name">姓名:</label> <input type="text" id="name" name="name" placeholder="请输入您的姓名" required> <label for="address">地址:</label> <textarea id="address" name="address" rows="4" placeholder="请输入您的地址" required></textarea> <button type="submit">发布</button> </form> </div> </body> </html> ``` 以上是一个简单的全新自适应地址发布页HTML源码。页面包含一个标题、一个表单和一个提交按钮。使用CSS样式对页面进行了简单的美化,使其在不同设备上都能正常显示和使用。用户需要输入姓名和地址,并点击发布按钮来提交表单。表单会将数据发送到服务器上,以便进一步处理。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

MIKE笔记(同名B站)

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

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

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

打赏作者

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

抵扣说明:

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

余额充值