分享好友 资讯首页 资讯分类 切换频道

登录注册页面样式

2025-07-16 08:1800

登录注册页面样式

登录注册页面的样式可以根据设计需求和品牌风格进行定制。以下是一个简单的登录注册页面的样式示例。

登录注册页面样式

<!DOCTYPE html>
<html>
<head>
  <title>登录注册页面</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      background-color: #f0f0f0;
      padding: 50px;
    }
    
    .container {
      max-width: 400px;
      margin: 0 auto;
      background-color: #fff;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    h2 {
      text-align: center;
      margin-bottom: 20px;
    }
    
    label {
      display: block;
      margin-bottom: 10px;
    }
    
    input[type="text"], input[type="password"] {
      width: 100%;
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }
    
    input[type="submit"] {
      width: 100%;
      padding: 10px;
      background-color: #4CAF50;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    
    input[type="submit"]:hover {
      background-color: #45a049;
    }
  </style>
</head>
<body>
  <div class="container">
    <h2>登录</h2>
    <!-- 登录表单 -->
    <form action="/login" method="post">
      <label for="username">用户名:</label>
      <input type="text" id="username" name="username" required><br>
      <label for="password">密码:</label>
      <input type="password" id="password" name="password" required><br>
      <input type="submit" value="登录">
    </form>
    <h2>注册</h2> <!-- 注册表单 --> 省略了注册表单的代码,可以根据需要添加。 --> 
  </div> <!-- container --> 省略了其他页面元素和样式,可以根据需要进行扩展和定制。 --> 这是一个简单的登录注册页面的样式示例,你可以根据自己的需求进行修改和定制,注意,这只是一个基本的样式示例,实际的登录注册页面可能需要更多的功能和安全性考虑,在实际开发中,请确保对用户输入进行验证和安全性处理。
举报
收藏 0
打赏 0
评论 0
谷歌账号中国号码注册不了
谷歌账号无法在中国注册使用中国号码,因为谷歌在中国存在服务限制。用户需使用国外手机号或借助其他方式完成注册。

0评论2025-08-080

购买办公用品计入哪里
购买办公用品一般计入"办公费用"或"管理费用"科目,这是企业或机构在运营过程中产生的日常开销,用于维护日常工作的正常运行。具体会计处理方式可能因企业规定有所不同。

0评论2025-08-080

 
友情链接