首页 > 其他分享 >登录

登录

时间:2023-07-25 11:45:51浏览次数:26  
标签:登录 color margin top background fff border

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>登录</title>
<style>
body {
background: url('https://cdn.pixabay.com/photo/2018/08/14/13/23/ocean-3605547_1280.jpg') no-repeat;
background-size: 100% 130%;
}

#login_box {
width: 20%;
height: 400px;

margin: auto;
margin-top: 10%;
text-align: center;
border-radius: 10px;
padding: 50px 50px;
}

h2 {
color: #ffffff90;
margin-top: 5%;
}

#input-box {
margin-top: 5%;
}

span {
color:#FF0000;
margin-top:50px;
}

input {
border: 0;
width: 60%;
font-size: 15px;
color: #fff;
background: transparent;
border-bottom: 2px solid #fff;
padding: 5px 10px;
outline: none;
margin-top: 10px;
}

.button {
margin-top: 50px;
width: 60%;
height: 30px;
border-radius: 10px;
border: 0;
color: #fff;
text-align: center;
line-height: 30px;
font-size: 15px;
background-image: linear-gradient(to right, #30cfd0, #330867);
}

#sign_up {
margin-top: 45%;
margin-left: 60%;
}

a {

color: #fff;
}
</style>
</head>

<body>
<div id="login_box">
<h2>LOGIN</h2>
<form method="post">
{% csrf_token %}
<div id="input_box">
<input type="text" placeholder="请输入电话号码" name="phone" required="required" autocomplete="off">
</div>
<div class="input_box">
<input type="password" placeholder="请输入密码" name="pwd" required="required">
</div>
<div>
<span>{{error_msg}}</span>
</div >
<button class="button">登录</button><br>
</form>
<button class="button">
<a href="/register" >注册</a><br>
</button>
</div>
</body>
</html>

标签:登录,color,margin,top,background,fff,border
From: https://www.cnblogs.com/mayueyue/p/17579408.html

相关文章

  • .net core WebApi 控制器使用特性校验是否已经登录
    实现 ApiAuthorizeAction自定义类:publicclassApiAuthorizeAction:Attribute,IAuthorizationFilter{publicvoidOnAuthorization(AuthorizationFilterContextcontext){if(context==null)return;......
  • c#三层架构实现登录
    C#三层架构实现登录1.流程概述在使用C#三层架构实现登录功能时,我们需要分为三个层次:数据访问层(DataAccessLayer,DAL)、业务逻辑层(BusinessLogicLayer,BLL)和表示层(PresentationLayer,UI)。下面是实现登录功能的整体流程:步骤描述1用户输入用户名和密码2UI层调用BLL......
  • 登录页面 flutter
     https://luzhenyu.blog.csdn.net/article/details/124335584?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-124335584-blog-113384904.235%5Ev38%5Epc_relevant_anti_t3&depth_1-utm_source=distri......
  • PHP实现注册登录的详细代码,可供参考
    一、先看演示~  就输出个成功算了吧~ 二、代码代码里面注释写很详细了哦~废话不多说直接上代码~index.php<!DOCTYPEhtml><html><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1"><......
  • spring boot security自动登录
    SpringBootSecurity自动登录SpringBootSecurity是一个用于保护应用程序的框架,提供了身份验证和授权功能。在一些场景中,我们希望用户在成功身份验证后自动登录,而无需再次输入用户名和密码。本文将介绍如何使用SpringBootSecurity实现自动登录功能。1.添加依赖首先,我们需要......
  • 在 SQL Server Always On 可用性组中的可用性副本之间同步登录
    介绍SQLServerAlwaysOn可用性组为SQL数据库提供高可用性和灾难恢复解决方案。如果主副本出现任何问题,它会自动对辅助副本上的AG数据库进行故障转移。只要我们利用侦听器,您的应用程序就不需要对连接字符串进行任何更改。但是,在SQLAlwaysOn中,同步可用性组的各个数据库......
  • USG6395恢复登录密码和FC交换机2224console登录用户及密码
    一、USG6395恢复登录密码 CTRL+B以后需要输入的密码是Admin@huawei,password恢复出厂以后,reboot,进入console界面可以修改admin的密码,再次重启以后就可以正常网页登录了。二、FC交换机2224console的默认用户是root密码为Huawei12#$......
  • 前后端分离实现注册+登录(Vue3.0 + Django3.2)
    博客地址:https://www.cnblogs.com/zylyehuo/一、使用vite+webstorm搭建Vue环境,构建前端1、结构树2、main.jsimport{createApp}from'vue'//import'./style.css'importAppfrom'./App.vue'importrouterfrom"./utils/router";......
  • sql面试题 - 求出连续登录7天的用户/用户数
    连续性问题,如:求出连续登录7天的用户/用户数求出连续充电次数大于等于12次的用户数求出3年获得冠军的选手......通用的解法:数据去重处理。如求连续7天登录的用户数,则一个用户一天只保留一条数据开窗函数。找到分区主键,然后按照时间进行排序求得rank用时间-rank,得到一......
  • vue3 登录添加图形验证码
    1.新增组件IdentifyCode.vue,使用canvas绘制验证码内容:<template><divclass="s-canvas"@click="refreshCode"><canvasid="s-canvas":width="contentWidth":height="contentHeight"......