HTMl+CSS 模仿京东网登录页面

Copyright © 2004-2020  京东JD.com 版权所有

CSS:

*{

margin: 0;

padding: 0;

}

/* 页面的外层 */

#warp{

width: 100vw;

height: 100vh;

}

/* —————顶部————— */

#top{

margin: 0 auto;

width: 1500px;

height: 80px;

background-color: white;

display: flex;

justify-content: space-around;

}

/* 顶部左边 */

.top-left{

margin: 10px 50px 0px 0px;

}

/* 顶部右边边 */

.top-right a{

position: relative;

color: #999;

float: right;

top: 52px;

line-height: 20px;

text-decoration: none;

font-size: 12px;

}

.top-right a:hover{

color: #E4393C;

text-decoration: underline;

}

/* —————顶部下面的提示文字————— */

.cont-wrapper{

background: #fff8f0;

width: 100%;

padding-top: 10px;

padding-bottom: 10px;

text-align: center;

}

.cont-wrapper img{

width: 17px;

height: 17px;

align-items: center;

}

.cont-wrapper p{

vertical-align: middle;

color: #999;

font-size: 12px;

display: inline-block;

}

.cont-wrapper a{

color: #333;

text-decoration: none;

}

.cont-wrapper a:hover{

text-decoration: underline;

}

/* —————中间表单部分————— */

#content{

/* width: 1200px; */

height: 450px;

margin: 0 auto;

background-color: #c4893b;

overflow: hidden;

}

/* 中间内容部分的外层 */

.login-wrap{

width: 900px;

height: 475px;

margin: 0 auto;

display: flex;

position: relative;

}

/* 中间背景图 */

.login-banner{

width: 100%;

position: relative;

z-index: 3;

height: 475px;

background: url(…/img/bg.jpg) no-repeat;

/* background-size: cover; */

position: absolute;

left: -50px;

bottom: 22px;

}

/* ———登陆表单部分——— */

.login-form{

width: 346px;

/* height: 426px; */

position: absolute;

top: 20px;

right: -30px;

z-index: 4;

background: #fff;

overflow: visible;

}

/* 扫码登陆和账户登录选项 */

.login-tab{

height: 54px;

display: flex;

line-height: 54px;

text-align: center;

}

.login-tab div{

width: 50%;

border-bottom: 1px solid #f4f4f4;

}

.login-tab a{

font-size: 18px;

border-bottom: 1px solid #f4f4f4;

color: #666;

text-decoration: none;

}

.login-tab a:hover{

color: #e4393c;

font-weight: bold;

}

.login-tab-right a{

color: #e4393c;

font-weight: bold;

}

/* 中间主要表单部分 */

.login-box{

margin-top: 30px;

text-align: center;

position: relative;

}

.login-box-1,.login-box-2{

height: 38px;

width: 304px;

margin: 0 auto;

border: 1px solid #bdbdbd;

position: relative;

margin-bottom: 20px;

}

.login-box-1 label{

position: absolute;

z-index: 3;

top: 0;

left: 0;

width: 38px;

height: 38px;

border-right: 1px solid #bdbdbd;

background: url(…/img/pwd-icons-new.png);

}

.login-box-2 label{

position: absolute;

z-index: 3;

top: 0;

left: 0;

width: 38px;

height: 38px;

border-right: 1px solid #bdbdbd;

background: url(…/img/pwd-icons-new.png);

background-position: -48px 0;

}

/* 两个输入框 */

.itxt{

line-height: 18px;

height: 18px;

border: 0;

padding: 10px 0 10px 50px;

width: 254px;

float: none;

overflow: hidden;

font-size: 14px;

font-family: ‘\5b8b\4f53’;

outline: none;

}

.login-box-3{

margin: 0 auto;

text-align: right;

height: 38px;

width: 304px;

}

.login-box-3 a{

font: 12px/150% Arial,Verdana,“\5b8b\4f53”;

color: #666;

text-decoration: none;

}

.login-box-3 a:hover{

color: #e4393c;

text-decoration: underline;

}

.login-box-4{

margin: 0 auto;

border: 1px solid #e85356;

display: block;

width: 302px;

background: #e4393c;

height: 31px;

}

.login-box-4 a{

line-height: 31px;

color: #fff;

font-size: 20px;

text-decoration: none;

}

/* ————表单底部———— */

.form-foot{

margin-top: 30px;

/* width: 100%; */

padding-left: 20px;

padding-right: 20px;

line-height: 50px;

border-top: 1px solid #f4f4f4;

height: auto;

background-color: #fcfcfc;

display: flex;

position: relative;

}

.form-foot{

display: block;

}

.form-foot a:hover{

color: #e4393c;

text-decoration: underline;

}

.form-foot li{

list-style: none;

float: left;

display: list-item;

text-align: -webkit-match-parent;

}

.form-foot li:last-child{

float: right;

color: #b61d1d;

}

.form-foot li:last-child a{

float: right;

color: #b61d1d;

}

.form-foot li:last-child b{

display: inline-block;

width: 16px;

height: 16px;

overflow: hidden;

background: url(/img/pwd-icons-new.png) -104px -75px no-repeat;

vertical-align: middle;

margin-right: 5px;

}

.line{

color: #ccc;

padding: 0 10px;

font-size: 12px;

}

.QQ-icon,.weixin-icon{

width: 19px;

height: 18px;

display: block;

background: url(…/img/QQ-weixin.png) no-repeat;

margin: 0 auto;

position: absolute;

float: left;

left: 0;

top: 16px;

}

.weixin-icon{

background: url(…/img/QQ-weixin.png) no-repeat;

background-position: -20px 0;

}

.form-foot a{

color: #666;

text-decoration: none;

font-size: 12px;

display: inline-block;

position: relative;

padding-left: 24px;

}

/* —————网页尾部————— */

#foot{

最后

自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数初中级Android工程师,想要提升技能,往往是自己摸索成长,自己不成体系的自学效果低效漫长且无助。

因此收集整理了一份《2024年Web前端开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。

img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Android开发知识点!不论你是刚入门Android开发的新手,还是希望在技术上不断提升的资深开发者,这些资料都将为你打开新的学习之门!

如果你觉得这些内容对你有帮助,需要这份全套学习资料的朋友可以戳我获取!!

由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!
业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。**

深知大多数初中级Android工程师,想要提升技能,往往是自己摸索成长,自己不成体系的自学效果低效漫长且无助。

因此收集整理了一份《2024年Web前端开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。

[外链图片转存中…(img-SMiMdECV-1714862090397)]

[外链图片转存中…(img-bMvoSjIJ-1714862090397)]

[外链图片转存中…(img-wAnMeUr5-1714862090398)]

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Android开发知识点!不论你是刚入门Android开发的新手,还是希望在技术上不断提升的资深开发者,这些资料都将为你打开新的学习之门!

如果你觉得这些内容对你有帮助,需要这份全套学习资料的朋友可以戳我获取!!

由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!

  • 9
    点赞
  • 22
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值