首页 > 其他分享 >注册

注册

时间:2023-07-25 11:44:33浏览次数:23  
标签:background color margin top 注册 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>REGISTER</h2>
<form method="post">
{% csrf_token %}
<div id="input_box">
<input type="text" placeholder="请输入用户名" name="user" required="required" autocomplete="off" >
</div>
<div class="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 class="input_box">
<input type="password" placeholder="请再次输入密码" name="pwd1" required="required">
</div>
<div>
<span>{{error_msg}}</span>
</div >
<button class="button">注册</button><br>
</form>
<button class="button">
<a href="/Login" >登录</a><br>
</button>
</div>
</body>
</html>

标签:background,color,margin,top,注册,fff,border
From: https://www.cnblogs.com/mayueyue/p/17579425.html

相关文章

  • 传奇架设时注册帐号没有反映登陆器不匹配,如何解决!
    注册帐号没有反映是我们在架设传奇的时候,经常遇到的一直问题,打开登陆器,添加传奇名称和IP地址,然后保存,选择自己添加的,显示传奇已经开放,然后开始注册帐号,所有的信息都填写完毕后,提交,然后没有任何的提示,我们从新注册,从新添加,在提交,还是如此,那么为什么注册帐号会出现这种问题呢?这种原因......
  • 使用Autofac进行服务注册,适用版本.Net6(程序集、泛型)
    具体的也可以去参考官网:https://autofac.readthedocs.io/en/latest/integration/aspnetcore.html首先在Program.cs所属的层中引用nuget包:Autofac.Extensions.DependencyInjectionnuget网址:https://www.nuget.org/packages 可以使用NuGet包管理器进行搜索安装在Program.cs中......
  • 记一次nacos注册中心搭建步骤(入门)
    1、下载nacos本操作步骤使用的是稳定版本2.1.1 下载地址:https://github.com/alibaba/nacos/releases/tag/2.1.1百度网盘下载地址:链接:https://pan.baidu.com/s/1w0CUkIpDJ8jI3N2FH3hKWw?pwd=af53提取码:af532、本次操作系统是linux(centos7) 上传到服务器指......
  • 无法注册程序集“D:\JAVA学习之路\jni4netTest\FanucDataCollectionAPI\FanucData
    无法注册程序集"D:\JAVA学习之路\jni4netTest\FanucDataCollectionAPI\FanucData"在Java开发中,我们经常需要与其他语言进行集成,以实现更复杂的功能或访问底层资源。JNI(JavaNativeInterface)是一种机制,允许Java代码调用本地代码(通常是C或C++编写的)。然而,在使用JNI时,有时会遇到无......
  • PHP实现注册登录的详细代码,可供参考
    一、先看演示~  就输出个成功算了吧~ 二、代码代码里面注释写很详细了哦~废话不多说直接上代码~index.php<!DOCTYPEhtml><html><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1"><......
  • 前后端分离实现注册+登录(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";......
  • 硬盘录像机通过国标GB28181协议注册到EasyCVR,为何频繁出现断流?
    EasyCVR可拓展性强、视频能力灵活、部署轻快,可支持的主流标准协议有GB28181、RTSP/Onvif、RTMP等,以及厂家私有协议与SDK接入,包括海康Ehome、海大宇等设备的SDK等,能对外分发RTSP、RTMP、FLV、HLS、WebRTC等格式的视频流。有用户反馈,设备录像机通过国标GB28181协议注册到EasyCVR平......
  • Avalonia 使用EFCore调用SQLite实现Singleton全局注册
    Avalonia使用EFCore调用SQLite实现Singleton全局注册本篇博客是我的开源项目TerraMours.Chat.Ava的更新的记录分享,本次更新使用EntityFrameWorkCore调用SQLite,实现数据的本地化和查询的优化,删除了dbpross类(直接调用SQLite的操作类)。大大提高了代码的简洁度和易读性。通过全局......
  • claude初步体验1(含个人遇到各种注册问题解决)
    很久之前体验的了,当记录一下吧(于三月)https://www.anthropic.com/claude-in-slack 若出现下面这个,而且你用了魔法还不行,大概率是你之前登录别的工作区,然后被检测出来不在他支持的地区了,然后官方把你禁用了,禁止你IP访问(我之前就是这样子),就是你的源IP,用魔法也不行。解决方法,重启......
  • MySQL注册码
    实现MySQL注册码介绍在开发中,我们经常会遇到需要实现注册码的情况。注册码可以用来控制用户的访问权限以及提供额外的功能。MySQL作为一种常用的关系型数据库管理系统,也需要实现注册码来保护数据库的安全性。在本文中,我将教你如何使用MySQL来实现注册码,并使用表格展示整个步骤,然......