当前位置:网站首页>Can amaze your login page
Can amaze your login page
2022-04-22 18:54:00 【Silent one】

Personal blog : Silent one ლ(´ڡ`ლ) delicious
Effect link :http://tingfeng77521.xyz/1.html
design sketch

All the code
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport"/>
<title> Silent one </title>
<link rel="icon" type="text/css" href="1.gif" />
<style> * {
margin: 0; padding: 0; } html {
height: 100%; } body {
height: 100%; } .overall {
height: 100%; background-image: linear-gradient(to right, #CFF, #FCF); overflow:auto; } .frame {
background:#FFF; width:500px; height:800px; border-radius:20px; padding:0px 50px; position:relative; margin:80px auto; } .login {
width: 460px; height: 75px; margin-left: 20px; float: left; margin-top: 50px; text-align: center; font-size: 54px; color: #000; font-family: Tahoma, Geneva, sans-serif; } .box {
width:480px; height:600px; float:left; margin-left:10px; margin-top:20px; overflow:hidden; } .id {
width:400px; height:50px; margin-left:40px; margin-top:40px; border-bottom:1px solid #333; font-size:18px; border: 0; border-bottom: 1px solid rgb(128, 125, 125); outline:none; display:block; } .password {
width:400px; height:50px; margin-left:40px; margin-top:40px; margin-bottom:40px; border-bottom:1px solid #333; font-size:18px; border: 0; border-bottom: 1px solid rgb(128, 125, 125); outline:none; display:block; } .logon {
width:420px; height:50px; border-radius:20px; display:block; background-image: linear-gradient(to right, #CFF, #FCF); font-size:24px; padding-top:13px; text-align:center; text-decoration:none; margin-left:35px; margin-top:40px; margin-bottom:40px; } .a {
width:420px; height:50px; border-radius:20px; display:block; background-image: linear-gradient(to right, #FCC, #9FC); font-size:24px; padding-top:13px; text-align:center; margin-left:35px; } </style>
</head>
<body>
<div class="overall">
<div class="frame">
<div class="login">Hello</div>
<div class="box">
<input name="Account number" type="text" class="id" placeholder="Account number" size="3" maxlength="8">
<input name="Password" type="text" class="password" placeholder="Password" size="3" maxlength="12">
<a class="logon" href="https://blog.csdn.net/weixin_59064057?spm=1000.2115.3001.5343">Logon</a>
<a class="a">Don' t worry,being loaded!</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Important grammar
1.meta name =“viewport” content = “width = device-width, intial-scale = 1”
width and height Refers to the size of the browser viewport . It can be done by documentElement clientwidth obtain .
Be careful :
Not every computer will run full screen , Her or his browser , But the mobile browser will fill the available screen .
*{ margin:0;padding:0} The role of :
*{margin:0;padding:0} The role of is reset( repeat ). Browser default mode , If you agree with the browser style, it has a simple and crude effect . This thing is called wildcard , Used to match elements on the page .
matters needing attention
Here's an explanation , The last login button is the hyperlink I use directly , Because I basically can't use , We just need to change the last login button .
版权声明
本文为[Silent one]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221849404473.html
边栏推荐
- Model Inspector — 软件模型静态规范检查工具
- Recommendation of safe, fast and low-cost futures companies in 2022?
- Storage network request log
- mmdeploy快速上手
- 2022年安全、下单速度快、费用低的期货公司推荐?
- 2022福建省安全员A证(主要负责人)考试模拟100题及在线模拟考试
- The Sandbox 与 Apex Athletes 达成合作关系
- Type description file of module code
- Simulation experiment of Arduino uno steering gear
- leetcode151. Reverse the words in the string (thought + explanation)
猜你喜欢

jsp学习(八.JDBC与文件上传处理的项目)

跨链资产交互——如何在Moonriver上转移KSM

fastjson的JSONObject数据保证顺序

CDATA drivers for JIRA complete features and attributes

What does naas, a charging service provider, rely on to rise without building piles?

聊聊缓存布尔值踩到的坑

被删除的相片能恢复吗?3个技巧恢复被删除的相片

如何设计 API 接口,实现统一格式返回

Nat. Commun. |用于学习生成模型的神经编码框架

校园跑腿平台如何搭建?
随机推荐
Pycharm 配置 Conda,国内使用正确的镜像源地址
Practice questions and mock examination of a certificate examination for safety officers in Jiangxi Province in 2022
What kind of database products do we need
【Proteus仿真】51单片机8路舵机点动±90°点动控制
Rhce ansible
【自我救赎--牛客网Top101 4天刷题计划】 第一天 热身运动
IM即时通讯开发如何设计能支撑百万并发的数据库
聊聊我这些年错过的一些机遇
Namespace usage in typescript
HMS Core Discovery第14期回顾长文|纵享丝滑剪辑,释放视频创作力
SQL命令 DISTINCT
【Spark】(task6)Spark RDD完成统计逻辑
Secretary of the national security and Defense Commission of Ukraine: it is impossible to restore Ukraine's nuclear status at present
fastjson的JSONObject数据保证顺序
Pattern machine template computer CAD free pattern drawing and format conversion software ps300b tutorial: general CAD drawing and pattern drawing of Japanese brother pattern machine DXF file transfer
错误 C4996 ‘fopen‘: This function or variable may be unsafe. Consider using fopen_s instead. To disabl
[proteus simulation] 51 single chip microcomputer 8-way actuator inching ± 90 ° inching control
The Sandbox 与 Apex Athletes 达成合作关系
Win10 problems: one-time permanent shutdown and automatic update of win10 system
Model Inspector - software model static specification inspection tool