哪位大神有漂亮的QQ邮箱html代码

发布网友 发布时间:2022-04-22 10:35

我来回答

1个回答

热心网友 时间:2023-10-10 23:04

具体代码如下:

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<title>QQ Eamil</title>

<style type="text/css">

body{

background: url(img/1.png) no-repeat;

background-position: 200px 200px;

}

*{

padding: 0;margin: 0;

}

.top{

width: 1600px;

height: 60px;

}

.footer{

width: 1600px;

height: 40px;

position: absolute;

bottom: 0px;

}

.all{

border:1px solid lightblue;

width: 335px;

height: 387px;

position: absolute;

top: 136px;

right: 341px;

}

.all .first .login,.all .first .pas{

width:167px;

height: 50px;

text-align: center;

line-height: 50px;

display: block;

float: left;

background-color: lightblue;

font-family: "微软雅黑";

color: gray;

}

.all .second .number{

width: 284px;

height: 35px;

margin-top: 33px;

margin-left: 17px;

}

.all .second .password{

width: 284px;

height: 35px;

margin-top: 15px;

margin-left: 17px;

}

.all .second .ok{

width: 284px;

height: 40px;

margin-top: 17px;

margin-left: 17px;

border: 0;

background-color: cornflowerblue;

font-size:larger;

color: white;

font-family: "微软雅黑";

}

.all .first{

width: 335px;

height:52px;

}

.all .second{

width: 332px;

height:290px;

}

.all .third{

width: 222px;

height:45px;

line-height: 45px;

padding-left: 110px;

}

.all .first .login:hover{

color:black;

}

.all .first .pas:hover{

color:black;

}

.all .second .bnext{

width: 20px;

height: 20px;

margin-top: 10px;

margin-left: 17px;

}

.all .second .tnext{

display: block;

width: 100px;

height: 15px;

margin-left: 45px;

margin-top: -22px;

font-size: small;

}

.all .third span{

font-size:smaller;

color: blue;

font-family: "微软雅黑";

}

</style>

</head>

<body>

<img src="img/logo.png" class="top" />

<div class="all">

<div class="first">

<span class="login">快速登录</span>

<span class="pas">账号密码登录</span>

</div>

<div class="second">

<input type="text" placeholder="QQ账号" class="number"/><br />

<input type="text"  placeholder="QQ密码"  class="password"/>

<input type="checkbox" class="bnext"/><span class="tnext">下次自动登录</span>

<input type="button" value="登录"  class="ok"/>

</div>

<div class="third">

<span>忘了密码?|</span>

<span>注册新账户|</span>

<span>意见反馈</span>

</div>

</div>

<img src="img/footer.png" class="footer"/>

</body>

</html>

效果图如下:

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com