仿校內(nèi)登陸框,精美,給那些很厲害但是沒(méi)有設(shè)計(jì)天才的程序員
2024-05-06 14:16:40
供稿:網(wǎng)友
改facebook的,絕對(duì)是你想要的,不需要圖片,因?yàn)槲业囊郧皫讉€(gè)東西被轉(zhuǎn)載到好多地方但是沒(méi)有人給我說(shuō),還沒(méi)有人說(shuō)是哪里來(lái)的,就把我blog地址寫這里的,要用的話就把那東西去掉吧
代碼如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Beautiful Forms</title>
<style type="text/css">
body{ font-family:宋體, Arial, Helvetica, sans-serif;
font-size:12px;
color:#000000;
}
a{color:#0033CC;}
h1, h2, p, form{
border:0px;
margin:0px;
padding:0px;
}
input{ font-family:宋體, Arial, Helvetica, sans-serif;
font-size:12px;
}
h2{ color:#666666;
margin-bottom:20px;
font-size:16px;
}
div.main{
margin:30px auto;
width:340px;
}
div.box{
border:solid 1px #c6cfe1;
background:#dfe4ee;
padding:10px;
color:#333333;
margin-bottom:20px;
}
div.box h1 {
font-size:14px;
color:#000000;
padding-bottom:4px;
}
div.box p{padding-bottom:14px;}
div.box input .input-text{
border:1px solid #3b6e22;
color:#666666;
width:180px;
}
div.box label{
display:block;
margin-bottom:10px;
color:#555555;
}
div.box label span{
display:block;
float:left;
padding-right:6px;
width:70px;
text-align:right;
padding-top:5px;
font-weight:bold;
}
.spacer{margin-left:80px;
margin-bottom:10px;
font-size:12px;
color:#555555;
}
.green{
background:#67a54b;
padding:0px 6px;
border:1px solid #3b6e22;
height:24px;
line-height:24px;
color:#FFFFFF;
font-size:12px;
margin-right:10px;
display:inline-block;
text-decoration:none;
}
</style>
</head>
<body>
<div class="main">
<h1>Beautiful Form</h1>
<h2>Xiaonei inspired</h2>
For more info visit: <a >http://blog.csdn.net/webxeyes</a>
<br/><br/>
<div class="box">
<h1>登 陸</h1>
<p>Do you have an account? Sign in!</p>
<form action="" method="post">
<label><span>賬號(hào)</span>
<input type="text"name="email" id="email" class="input-text"/>
</label>
<label><span>密碼</span>
<input type="password"name="psw" id="psw" class="input-text"/>
</label>
</form>
<div class="spacer"><a href="#" onClick="" class="green">Sign in</a></div>
<div class="spacer">
忘記密碼? <a href="#">找回密碼</a><br/>
還沒(méi)有注冊(cè)? <a href="#">注冊(cè)</a>
</div>
</div>
<div class="box">