加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
denglu.html 14.26 KB
一键复制 编辑 原始数据 按行查看 历史
王贤松 提交于 2018-07-18 19:27 . 大概主页面以及登录注册页面
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>登录</title>
<style type="text/css">
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
dl,
dt,
dd,
ol,
nav ul,
nav li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
html{
background-image: url(img/background.png);
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block
}
ol,
ul {
list-style: none;
padding: 0;
margin: 0
}
blockquote,
q {
quotes: none
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none
}
table {
border-collapse: collapse;
border-spacing: 0
}
a {
text-decoration: none
}
.txt-rt {
text-align: right
}
.txt-lt {
text-align: left
}
.txt-center {
text-align: center
}
.float-rt {
float: right
}
.float-lt {
float: left
}
.clear {
clear: both
}
.pos-relative {
position: relative
}
.pos-absolute {
position: absolute
}
.vertical-base {
vertical-align: baseline
}
.vertical-top {
vertical-align: top
}
.underline {
padding-bottom: 3px;
border-bottom: 1px solid #eee
}
nav.vertical ul li {
display: block
}
nav.horizontal ul li {
display: inline-block
}
img {
max-width: 100%
}
body {
font-family: roboto, sans-serif;
text-align: center;
background: url(../images/background.png);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover
}
body a {
transition: .5s all;
-webkit-transition: .5s all;
-moz-transition: .5s all;
-o-transition: .5s all;
-ms-transition: .5s all;
text-decoration: none
}
h1 {
font-size: 45px;
font-weight: 500;
letter-spacing: 4px;
margin: 60px 0;
color: #fff
}
.container {
width: 50%;
margin: 0 auto;
padding: 40px;
background-color: rgba(10, 10, 10, .77);
border: 2px ridge rgba(238, 238, 238, .13);
border-radius: 5px;
-moz-box-shadow: 0 -5px 10px 1px rgba(16, 16, 16, .57);
-webkit-box-shadow: 0 -5px 10px 1px rgba(16, 16, 16, .57);
box-shadow: 0 -5px 10px 1px rgba(16, 16, 16, .57);
border-bottom: 0;
border-bottom-left-radius: initial;
border-bottom-right-radius: initial
}
.login {
width: 45%;
float: left;
text-align: left;
padding-right: 40px
}
::-webkit-input-placeholder {
color: #ccc
}
:-moz-placeholder {
color: #ccc
}
::-moz-placeholder {
color: #ccc
}
:-ms-input-placeholder {
color: #ccc
}
h2 {
font-size: 35px;
text-align: left;
color: #fff;
font-weight: 100;
margin-bottom: 20px
}
ul.tick {
float: left;
list-style: none;
display: inline-block;
width: 100%;
margin-bottom: 20px
}
ul.tick li input[type=checkbox] {
display: none
}
ul.tick li input[type=checkbox]+label {
position: relative;
padding-left: 30px;
border: #f0f8ff;
display: inline-block;
font-size: 13px;
color: #eee
}
ul.tick li input[type=checkbox]+label span:first-child {
width: 17px;
height: 17px;
display: inline-block;
border: 1px solid #eee;
position: absolute;
top: -3px;
left: 0;
bottom: 4px
}
ul.tick li input[type=checkbox]:checked+label span:first-child:before {
content: "";
background: url(../images/tick.png)no-repeat;
position: absolute;
left: 3px;
top: 3px;
font-size: 10px;
width: 10px;
height: 10px
}
.social-icons {
margin-top: 20px;
text-align: center
}
.social-icons p {
color: #ccc;
margin-bottom: 15px
}
.social-icons ul li {
float: left;
width: 32.9%
}
.copyrights {
text-indent: -9999px;
height: 0;
line-height: 0;
font-size: 0;
overflow: hidden
}
li.twt {
margin: 0 2px
}
.social-icons ul li a {
display: block
}
.social-icons ul li a span {
vertical-align: middle;
color: #fff;
font-size: 15px
}
.social-icons ul li span.icons {
background: url(../images/i1.png) no-repeat center;
width: 30px;
height: 30px;
display: inline-block
}
.social-icons ul li.weixin span.icons {
background: url(../images/weixin.png) no-repeat;
background-size: 100%
}
.social-icons ul li.qq span.icons {
background: url(../images/QQ.png) no-repeat;
background-size: 100%
}
.social-icons ul li.weibo span.icons {
background: url(../images/weibo.png) no-repeat;
background-size: 100%
}
.social-icons ul li a:hover span.icons {
transform: rotatey(360deg);
-webkit-transform: rotatey(360deg);
-o-transform: rotatey(360deg);
-moz-transform: rotatey(360deg);
-ms-transform: rotatey(360deg);
transition: .5s all
}
input[type=text],
input[type=password] {
width: 93.4%;
margin-bottom: 20px;
padding: 10px;
float: left;
background-color: transparent;
border: 0;
font-size: 15px;
border-bottom: 1px solid rgba(238, 238, 238, .41);
outline: 0;
color: #fff
}
.send-button {
margin-bottom: 20px
}
.send-button input[type=submit] {
width: 60%;
padding: 10px 0;
font-size: 16px;
font-weight: 100;
background-color: transparent;
color: #ccc;
border: 1px solid rgba(238, 238, 238, .41);
border-width: thin;
cursor: pointer;
outline: 0;
transition: .5s all;
-webkit-transition: .5s all;
-moz-transition: .5s all;
-o-transition: .5s all;
-ms-transition: .5s all;
text-decoration: none
}
.send-button input[type=submit]:hover {
background-color: #000;
border: 1px solid #fff;
color: #fff;
transition: .5s all;
-webkit-transition: .5s all;
-moz-transition: .5s all;
-o-transition: .5s all;
-ms-transition: .5s all;
text-decoration: none
}
.login a {
color: #ccc
}
.login a:hover {
color: #fff
}
.register {
width: 44%;
float: left;
border-left: 1px solid #ddd;
padding-left: 40px;
text-align: left
}
.register p {
color: #ccc;
margin-bottom: 10px
}
.register p a {
color: #ccc
}
.register p a:hover {
color: #fff
}
.footer {
text-align: center;
margin: 100px 20px 20px
}
.footer p {
color: #ccc;
line-height: 25px
}
.footer a {
color: #ccc;
text-decoration: none
}
.footer a:hover {
color: #fff
}
@media screen and (max-width:1920px) {
h1 {
margin: 100px 0
}
}
@media screen and (max-width:1600px) {
h1 {
margin: 60px 0
}
}
@media screen and (max-width:1440px) {
.container {
width: 53%
}
}
@media screen and (max-width:1366px) {
h1 {
margin: 50px 0
}
.container {
width: 57%
}
}
@media screen and (max-width:1280px) {
.container {
width: 60%
}
}
@media screen and (max-width:1024px) {
.container {
width: 76%
}
}
@media screen and (max-width:966px) {
.container {
width: 80%
}
.footer {
margin: 50px 20px 20px
}
}
@media screen and (max-width:853px) {
.login {
padding-right: 36px
}
.register {
padding-left: 36px
}
.social-icons ul li {
width: 32.8%
}
.register p {
font-size: 14px
}
}
@media screen and (max-width:800px) {
h1 {
font-size: 43px
}
.login {
padding-right: 35px
}
.register {
padding-left: 34px
}
.social-icons ul li span.icons {
width: 28px
}
}
@media screen and (max-width:768px) {
.container {
width: 85%
}
.register p {
font-size: 13.8px
}
}
@media screen and (max-width:736px) {
h1 {
font-size: 40px
}
.container {
width: 87%;
padding: 35px
}
.login {
padding-right: 34px
}
.register {
padding-left: 33px
}
.social-icons ul li a span {
font-size: 14px
}
.register p {
font-size: 13.2px
}
}
@media screen and (max-width:667px) {
h1 {
font-size: 35px;
letter-spacing: 3px
}
.container {
width: 55%;
padding: 50px
}
.login {
padding: 0;
width: 100%;
margin-bottom: 50px
}
.register {
padding: 40px 0 0;
width: 100%;
border: 0;
border-top: 1px solid #ddd
}
}
@media screen and (max-width:603px) {
h1 {
letter-spacing: 2px
}
}
@media screen and (max-width:568px) {
h1 {
letter-spacing: 1px;
margin: 30px 0
}
.container {
width: 60%;
padding: 40px
}
}
@media screen and (max-width:533px) {
h1 {
font-size: 32px
}
}
@media screen and (max-width:480px) {
.container {
width: 70%;
padding: 35px
}
.send-button input[type=submit] {
width: 50%;
padding: 8px 0
}
}
@media screen and (max-width:414px) {
h1 {
font-size: 30px
}
.container {
width: 75%;
padding: 25px
}
.login {
margin-bottom: 30px
}
h2 {
font-size: 30px;
margin-bottom: 15px
}
.register {
padding: 30px 0 0
}
.footer p {
font-size: 14px
}
}
@media screen and (max-width:384px) {
h1 {
letter-spacing: 0
}
}
@media screen and (max-width:375px) {
.social-icons ul li span.icons {
width: 27px
}
.register p {
font-size: 13px;
line-height: 23px
}
}
@media screen and (max-width:360px) {
.container {
width: 80%;
padding: 20px
}
}
@media screen and (max-width:320px) {
.social-icons ul li {
width: 32.7%
}
.social-icons ul li span.icons {
width: 25px
}
.social-icons ul li a span {
font-size: 12.4px
}
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="application/x-javascript">
addEventListener("load", function() {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
</head>
<body>
<h1>登录</h1>
<div class="container w3layouts agileits">
<div class="login w3layouts agileits">
<h2>登 录</h2>
<form action="#" method="post">
<input type="text" name="Userame" placeholder="用户名" required="" value="admin">
<input type="password" name="Password" placeholder="密码" required="">
</form>
<ul class="tick w3layouts agileits">
<li>
<input type="checkbox" id="brand1" value="">
<label for="brand1"><span></span>记住我</label>
</li>
</ul>
<div class="send-button w3layouts agileits">
<form>
<input type="submit" value="登 录">
</form>
</div>
<a href="#">记住密码?</a>
<div class="social-icons w3layouts agileits">
<p>- 其他方式登录 -</p>
<ul>
<li class="qq">
<a href="#">
<span ><img src="img/QQ.png" width="25px"/></span>
<span class="text w3layouts agileits">QQ</span>
</a>
</li>
<li class="weixin w3ls">
<a href="#">
<span ><img src="img/weixin.png" width="25px"/></span>
<span class="text w3layouts agileits">微信</span></a>
</li>
<li class="weibo aits">
<a href="#">
<span ><img src="img/weibo.png" width="25px"/></span>
<span class="text w3layouts agileits">微博</span>
</a>
</li>
<div class="clear"> </div>
</ul>
</div>
<div class="clear"></div>
</div>
<div class="register w3layouts agileits">
<h2>注 册</h2>
<form action="#" method="post">
<input type="text" name="Name" placeholder="用户名" required="" value="admin">
<input type="text" name="Email" placeholder="邮箱" required="" value="admin@163.com">
<input type="password" name="Password" placeholder="密码" required="">
<input type="text" name="Phone Number" placeholder="手机号码" required="">
</form>
<div class="send-button w3layouts agileits">
<form>
<input type="submit" value="免费注册">
</form>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<div class="footer w3layouts agileits">
<p>Copyright © More Templates</p>
</div>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化