简洁大气上档次的登录页面

<!DOCTYPE html>
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Insert title here</title>
 </head>
 <style>
  body{
   margin:0;
   padding:0;
   background:#487eb0;
  }
  .signup-form{
   width:300px;
   padding:20px;
   text-align: center;
   background: url("./static/jpg/02.png");
   position: absolute;
   top:50%;
   left:50%;
   transform:translate(-50%,-50%);
   overflow:hidden;
  }
  .sign-form h1{
   margin-top: 100px;
   font-family: 'Permanent Marker',cursive;
   font-size: 40px;
  }
  .signup-form input {
   display: block;
   width: 100%;
   padding:0 16px;
   height:44px;
   text-align: center;
   box-sizing: border-box;
   outline: none;
   border: none;
   font-family: "montserrat",sans-serif;
  }
  .txtb{
   margin:20px 0;
   background: rgba(255,255,255,.5);
   border-radius: 6px;
  }
  .signup-btn{
   margin-top: 60px;
   margin-bottom: 20px;
   background: #487eb0;
   color:white;
   border-radius: 44px;
   cursor: pointer;
   transition:0.8s;
  }
  .signup-btn:hover{
   transform:scale(0.96);
   background: rgba(0,0,0.3);
  }
  .signup-form a{
   text-decoration: none;
   color:white;
   font-family: "montserrat",sans-serif;
   font-size: 14px;
   padding: 10px;
   transition:0.8s;
   display: block;
   border-radius: 44px;
  }
  .signup-form a:hover{
   transform:scale(0.96);
   background: rgba(0,0,0.3);
  }
 </style>
 <body>
  <div class="signup-form">
   <form action="index.html" method="post">
    <h1>Sign Up</h1>
    <input type="text" placeholder="用户名" class="txtb"/>
    <input type="email" placeholder="邮箱" class="txtb"/>
    <input type="password" placeholder="密码" class="txtb"/>
    <input type="submit" value="创建用户" class="signup-btn"/>
    <a href="#">登录</a>
   </form>
  </div>
 </body>
</html>

具体什么效果,请自行尝试哟,亲,相信不会让你失望的

  • 5
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值