Web端登錄頁和注冊頁源碼

前言:登錄頁面是前端開發中最常見的頁面,下面是登錄頁面效果圖和源代碼,CV大法直接拿走。


1、登錄頁面

源代碼:

<!DOCTYPE html>
<html><head><meta charset="utf-8"><title>登錄</title><style>* {margin: 0;padding: 0;box-sizing: border-box;}body {height: 100vh;background-color: aquamarine;background: url("https://images.pexels.com/photos/936722/pexels-photo-936722.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1") no-repeat;background-size: cover;}.Box {position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 550px;height: 330px;display: flex;}.left {position: relative;width: 50%;height: 100%;background-color: rgba(57, 99, 134, 0.75);}.right {position: relative;width: 50%;height: 100%;background-color: rgba(255, 255, 255, 1);}.centerBox {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 80%;text-align: center;}.left img {width: 50px;height: 50px;margin-bottom: 5px;}.left p {font-size: 14px;color: #fff;}.left h4 {font-size: 18px;color: #fff;margin-bottom: 10px;}.right form {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 80%;text-align: center;}h3 {margin-bottom: 20px;}input {width: 100%;height: 30px;border: 1px solid #767676;background-color: transparent;padding-left: 10px;font-size: 12px;color: #000000;margin-bottom: 15px;outline: none;}.loginBtn {width: 100%;height: 35px;line-height: 32px;text-align: center;font-size: 15px;color: #fff;border-radius: 6px;background: rgb(57, 99, 134);outline: none;border: none;margin-top: 10px;}.no {cursor: pointer;margin-top: 30px;text-align: center;font-size: 12px;color: #828282;}</style></head><body><div class="Box"><div class="left"><div class="centerBox"><img src="https://img0.baidu.com/it/u=2804005887,994501744&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"alt=""><h4>某某后臺管理系統</h4><p>This is a description</p></div></div><div class="right"><form action=""><h3>歡迎登錄</h3><input type="text" placeholder="請輸入賬號" required><input type="password" placeholder="請輸入密碼" required><input type="submit" class="loginBtn" value="登錄"></button><p class="no">沒有賬號?立即注冊</p></form></div></div></body>
</html>

2、注冊頁面

源代碼:

<!DOCTYPE html>
<html><head><meta charset="utf-8"><title>注冊</title><style>* {margin: 0;padding: 0;box-sizing: border-box;}body {height: 100vh;background: url("https://images.pexels.com/photos/290595/pexels-photo-290595.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1") no-repeat;background-size: cover;}.Box {position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 650px;height: 400px;display: flex;}.left {position: relative;width: 45%;height: 100%;background: url("https://img0.baidu.com/it/u=4234357226,4114415663&fm=253&fmt=auto&app=138&f=PNG?w=900&h=462") no-repeat;background-size: cover;}.right {position: relative;width: 55%;height: 100%;background-color: rgba(255, 255, 255, 1);}.centerBox {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 80%;text-align: center;}.left img {width: 50px;height: 50px;margin-bottom: 5px;}.left p {font-size: 14px;color: #fff;}.left h4 {font-size: 18px;color: #fff;margin-bottom: 10px;}.right form {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 80%;text-align: center;}h3 {margin-bottom: 20px;color: #5f89ca;}input {width: 100%;height: 30px;border: 1px solid #5f89ca;background-color: transparent;padding-left: 10px;font-size: 12px;color: #000000;margin-bottom: 15px;outline: none;}.loginBtn {width: 100%;height: 35px;line-height: 32px;text-align: center;font-size: 15px;color: #fff;background: #5f89ca;outline: none;border: none;margin-top: 10px;}.loginBtn:hover {cursor: pointer;background-color: deepskyblue;}.no {cursor: pointer;margin-top: 10px;text-align: center;font-size: 12px;color: #828282;}.yzmBox {display: flex;justify-content: flex-start;}.yzmBox input {width: 70%;border-top-right-radius: 0;border-bottom-right-radius: 0;}.yzmBox .btn {cursor: pointer;width: 29%;background-color: #5f89ca;color: #ffffff;height: 30px;outline: none;border: 1px solid #5f89ca;font-size: 12px;margin-left: 1%;border-top-left-radius: 0;border-bottom-left-radius: 0;}</style></head><body><div class="Box"><div class="left"><div class="centerBox"><img src="https://img0.baidu.com/it/u=2804005887,994501744&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"alt=""><h4>某某后臺管理系統</h4><p>This is a description</p></div></div><div class="right"><form action=""><h3>新用戶注冊</h3><input type="text" placeholder="請輸入用戶名" required><input type="password" placeholder="請輸入密碼" required><input type="password" placeholder="請再次輸入密碼" required><input type="text" placeholder="請輸入手機號" required><div class="yzmBox"><input type="text" placeholder="請輸入驗證碼"><button class="btn">發送</button></div><input type="submit" class="loginBtn" value="注冊"></button><p class="no">已有賬號?<span style="text-decoration: underline;cursor: pointer;">去登陸</span></p></form></div></div></body>
</html>

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/web/37790.shtml
繁體地址,請注明出處:http://hk.pswp.cn/web/37790.shtml
英文地址,請注明出處:http://en.pswp.cn/web/37790.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

Django 和 Django REST framework 創建對外 API

1. 環境準備 確保你已經安裝了 Python 和 Django。如果尚未安裝 Django REST framework&#xff0c;通過 pip 安裝它&#xff1a; pip install djangorestframework 2. 創建 Django 項目 如果你還沒有 Django 項目&#xff0c;可以通過以下命令創建&#xff1a; django-ad…

每日復盤-20240701

今日關注&#xff1a; 20240701 六日漲幅最大: ------1--------301182--------- 凱旺科技 五日漲幅最大: ------1--------300977--------- 深圳瑞捷 四日漲幅最大: ------1--------300977--------- 深圳瑞捷 三日漲幅最大: ------1--------300461--------- 田中精機 二日漲幅最…

Lua實現鏈表(面向對象應用)

Lua實現面向對象 面向對象核心三要素Lua面向對象大致原理面向對象示例繼承與多態示例 面向對象核心三要素 1.封裝&#xff1a;對一個事物的抽象為一些屬性和行為動作的集合&#xff0c;封裝將屬性和行為動作&#xff08;操作數據的方法&#xff09;綁定在一起&#xff0c;并隱藏…

快錢支付股東全部股權已被質押!

根據近期工商信息&#xff0c;第三方支付機構快錢支付清算信息有限公司&#xff08;簡稱“快錢支付”&#xff09;實際控股方快錢金融服務&#xff08;上海&#xff09;有限公司&#xff08;簡稱“快錢金融”&#xff09;&#xff0c;作為出質股權標的企業&#xff0c;被出質給…

【SGX系列教程】(三)Intel-SGX 官方示例分析(SampleCode)——SampleEnclave

文章目錄 一. 引言二. README2.1 項目目的2.2 構建和執行示例代碼的步驟2.3 配置參數解釋2.4 配置文件分析2.5 啟動令牌初始化 三. 重點代碼分析3.1 App文件夾3.1.1 App/App.cpp3.1.2 App/Edger8rSyntax文件夾3.1.2.1 App/Edger8rSyntax/Arrays.cpp3.1.2.2 App/Edger8rSyntax/F…

一文全概括,建議收藏,那些你不可錯過的IC設計書籍合集(可下載)

集成電路設計工程師的角色不僅是推動技術創新的中堅力量&#xff0c;更是實現產品從概念到現實的關鍵橋梁。隨著對高性能、低功耗芯片的需求不斷增長&#xff0c;IC設計工程師的專業技能和知識深度成為了衡量其職業價值的重要標準。無論是在數字邏輯設計、功能驗證、可測試性設…

JMeter--定時執行的方法

原文網址&#xff1a;JMeter--定時執行的方法_IT利刃出鞘的博客-CSDN博客 簡介 本文介紹JMeter如何使用定時器定時執行測試任務。 Java技術星球&#xff1a;way2j.com 方法 第一步&#xff1a;新建定時器 右鍵測試任務> Add > Timer> Constant Timer 如下圖所示…

qt中數據庫和excel互導數據————附帶詳細步驟和代碼

文章目錄 0 背景1 準備QXlsx環境1.1 cmake安裝使用1.2 qmake使用 2 把excel數據導出到mysql數據庫3 把mysql數據庫的數據寫入到excel4 完整代碼5 項目代碼倉庫 0 背景 因為需要批量導入和導出數據&#xff0c;所以需要用到excel。實現把數據庫的數據導入到excel中&#xff0c;…

圓圈序號1~10復制粘貼直接用

1. 空心圓圈數字序號&#xff1a; ①、②、③、④、⑤、⑥、⑦、⑧、⑨、⑩ 2. 實心圓圈數字序號&#xff1a; ?、?、?、?、?、?、?、?、?、? 3. 空心圓圈中文序號&#xff1a; 一、二、三、四、五、六、七、八、九、十

linux高級編程(線程)(1)

虛擬地址&#xff1a; 線程&#xff1a; 概念&#xff1a;線程是輕量級進程&#xff0c;一般是一個進程中的多個任務。 進程是系統中最小的資源分配單位。&#xff08;競爭計算機資源的最小單位&#xff09;&#xff08;進程能分配硬件資源&#xff0c;線程不行&#x…

解析QAnything啟動命令過程

一.啟動命令過程日志 啟動命令bash ./run.sh -c local -i 0 -b hf -m Qwen-1_8B-Chat -t qwen-7b-chat。輸入日志如下所示&#xff1a; rootMM-202203161213:/mnt/l/20230918_RAG方向/QAnything# bash ./run.sh -c local -i 0 -b hf -m Qwen-1_8B-Chat -t qwen-7b-chat From …

Leetcode Java學習記錄——棧和隊列 IDEA

文章目錄 棧和隊列stack Classqueue InterfaceDeque Interfaceadd 和 push Priority Queue -- Class題目 codestyleIDEA 操作快捷鍵選擇代碼生成類 棧和隊列 stack Class google stack java 8/12 empty() peek() pop() push(E item) search(Object o) 最近相關性會用到棧 …

湘潭大學軟件工程數據庫總結

文章目錄 前言試卷結構給學弟學妹的一些參考自己的一些總結 前言 自己可能很早很早之前就準備復習了&#xff0c;但是感覺還是沒有學到要點&#xff0c;主要還是沒啥緊迫的壓力&#xff0c;我們是三月份開學&#xff0c;那時候實驗室有朋友挺認真開始學習數據庫了&#xff0c;…

理性決策的藝術:從購房到擇偶的數學智慧;37% 規則,做出最佳決策的秘訣;用數學模型解決人生難題

在面對人生重大決策時&#xff0c;如購房或擇偶&#xff0c;我們常常感到迷茫和困惑。然而&#xff0c;如果我們能夠將這些看似復雜的問題簡化為數學模型&#xff0c;我們就能以更加理性和系統的方式做出決策。 37%規則 1950年代&#xff0c;當時幾位數學家開始研究這樣一個問…

值得收藏!盤點那些適合普通人方便又好用的AIGC工具!(下)

【導讀】接上一篇文章&#xff0c;盤點國內外適合普通人能夠輕松上手的AIGC工具&#xff08;上&#xff09;。今天又為大家整理了一些好用又方便的AI設計工具、AI辦公工具、AI編程工具、AI指令工具和AI檢測工具&#xff0c;如果有沒更新到的工具也歡迎大家評論區交流。 一 、A…

Kafka 入門指南

Kafka 入門指南 簡介 Kafka 是一個由 Apache 軟件基金會開發的開源流處理平臺。它最初由 LinkedIn 開發&#xff0c;并在 2011 年作為開源項目發布。Kafka 是一個分布式、可擴展、高吞吐量的消息隊列系統&#xff0c;廣泛應用于實時數據流處理場景。 主要概念 1. 主題 (Top…

C#/WPF 自制截圖工具

在日常使用電腦辦公時&#xff0c;我們經常遇到需要截圖然后保存圖片&#xff0c;我們往往需要借助安裝截圖工具才能實現&#xff0c;現在我們通過C#自制截圖工具&#xff0c;也能夠輕松進行截圖。 我們可以通過C#調用WindousAPI來實現截圖&#xff0c;實例代碼如下&#xff1a…

AI基本概念(人工智能、機器學習、深度學習)

人工智能 、 機器學習、 深度學習的概念和關系 人工智能 &#xff08;Artificial Intelligence&#xff09;AI- 機器展現出人類智慧機器學習 &#xff08;Machine Learning) ML, 達到人工智能的方法深度學習 &#xff08;Deep Learning&#xff09;DL,執行機器學習的技術 從范圍…

算法 —— 滑動窗口

目錄 長度最小的子數組 無重復字符的最長子串 最大連續1的個數 將x減到0的最小操作數 找到字符串中所有字母異位詞 長度最小的子數組 sum比target小就進窗口&#xff0c;sum比target大就出窗口&#xff0c;由于數組是正數&#xff0c;所以相加會使sum變大&#xff0c;相減…

關于redis的運維面試題-1

1. 什么是Redis&#xff1f; Redis&#xff08;Remote Dictionary Server&#xff09;是一個開源的內存數據結構存儲&#xff0c;通常用作數據庫、緩存和消息代理。它支持多種數據結構&#xff0c;如字符串&#xff08;strings&#xff09;、哈希&#xff08;hashes&#xff0…