<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Page</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f7f7f7;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
width: 400px;
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #333;
}
input[type="text"], input[type="password"] {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 3px;
}
button {
width: 100%;
padding: 8px;
background-color: #3498db;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
}
button:hover {
background-color: #2980b9;
}
</style>
</head>
<body>
<div class="container">
<h1>Login</h1>
<form>
<input type="email" placeholder="Email" required><br>
<input type="password" placeholder="Password" required><br>
<button type="submit">Login</button>
</form>
</div>
</body>
</html>
用html写一个漂亮的登录页
转载请注明出处或者链接地址:https://www.qianduange.cn//article/20555.html
发布的文章
【Qt开发教程】JSON处理QJsonDocument、QJsonObject、QJsonArray类详解及实战应用:用于解析JSON数据字符串,转换为Qt对象,转换Qt对象为JSON格式字符串
2025-02-22 16:02:22
浅谈C#库之Newtonsoft.Json
2025-02-22 16:02:22
第十天:数据提取-JsonPath
2025-02-22 16:02:21
【漏洞复现】5. Fastjson 1.2.24反序列化漏洞(CVE-2017-18349)复现
2025-02-22 16:02:21
Linux网络 | 网络计算器客户端实现与Json的安装以及使用
2025-02-22 16:02:20
解决docker不加载 /etc/docker/daemon.json文件的问题
2025-02-22 16:02:19
nlohmann/json安装与使用
2025-02-22 16:02:19
mapbox基础,使用geojson加载line线图层,实现纯色填充、图片填充、虚线和渐变效果
2025-02-22 16:02:18
鸿蒙HarmonyOS 5.0开发:应用配置文件(Stage模型)-app.json5配置文件
2025-02-22 16:02:18
记录小白C 学习之路--熟悉C VScode的json配置文件篇
2025-02-22 16:02:17
大家推荐的文章