laravel登录注册页

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <style>
        .rg_layout{
            width: 900px;
            height: 500px;
            margin: auto;
            margin-top: 15px;
        }
        .rg_left{
            float: left;
            margin: 15px;
            width: 20%;
        }
        .td_left{
            width: 100px;
            text-align: right;
            height: 45px;
        }
        .td_right{
            padding-left: 50px;
        }  
    </style>
</head>
<body >
    <div class="rg_layout">
<div class="rg_center">
    <h1 style=" margin: 0; text-align:center">用户注册</h1>
        <form>
            <table>
            
                <tr>
                    <td class="td_left">
                        <label for="username">用户名</label></td>
                    <td class="td_right">
                        <input type="text" name="username" id="username" placeholder="请输入用户名" required="required"></td>
                </tr>
                <tr>
                    <td class="td_left">
                        <label for="password">密码</label></td>
                    <td class="td_right">
                        <input type="password" name="password" id="password" placeholder="请输入密码" required="required">
                    </td>
                </tr>
                    <td colspan="2" align="center">
                        <input type="button" id="btn" value="注册">
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
</body>
</html>

 

 

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>登录界面</title>
  <style type="text/css">
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      padding: 0;
    }
    .wrok {
      width: 100%;
      height: 100%;
      padding: 10% 0;
      position: fixed;
    }
    .container input {
      width: 320px;
      display: block;
      height: 36px;
      padding: 6px 10px;
      line-height: 24px;
      margin: 32px auto;
    } 
  </style>
</head>
<body>
<div class="wrok">
  <div class="container">
    <h1 style=" margin: 0; text-align: center">用户登录</h1>
    <form action="check.php" method="post">
      <label>
      <input type="text" name="username" id="username" placeholder="请输入账号" required="required"></td>
      </label>
      <label>
      <input type="text" name="username" id="username" placeholder="请输入密码" required="required"></td>
      </label>
      <input type="button" id="btn1" value="登录">
      <input type="button" id="btn2" value="注册">
    </form>
    <script src="js/jquery.js"></script>
    <script>
  </script>
  </div>

</div>
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值