<form id="frame">
<input type="text" placeholder="账号" class="text">
<input type="password" placeholder="密码" class="text">
<input type="submit" value="登录" class="button">
</form>
<style>
#frame{
width: 300px;
height: 50px;
background-color: #fff;
background-position: center;
margin-top: 100px;
opacity: .8;
}
#frame .text{
width: 145px;
height: 8px;
background-color: #fff;
font-size: 14px;
color: #c9c9c9;
margin-left: 10px;
margin-top: 8px;
padding: 10px;
opacity: 1;
z-index: 3;
}
</style>