被吊打的审美---又一个登录界面

效果如图:

jsp:

<body class="loginPage">
	<div class="col-md-12 column" style="height:120px"></div>
	<div class="container">
		<div class="col-md-12">			
			<form name="loginForm" id="loginForm" class="form-horizontal loginForm" role="form"  method="post">		
				<div class="form-group">
					<div class="col-md-12">
						<h3 class="margin-bottom-15">AdminManage管理</h3>
					</div>
				</div>	
		        <div class="form-group">
		          <div class="col-md-12">		          	       
		            <div class="loginInput clearfix input-group">
		            	<span class="input-group-addon"><i class="fa fa-user"></i></span>  
		            	<input type="text" class="form-control" name="username" id="username" value="admin" placeholder="" style="width:60%;display:inline" title="请输入密码">
		            </div>		            		            		            
		          </div>              
		        </div>
                
		        <div class="form-group">
		          <div class="col-md-12">
		            <div class="loginInput clearfix input-group">
		            	<span class="input-group-addon"><i class="fa fa-lock"></i></span>  
		            	<input type="password" class="form-control" name="password" id="password" placeholder="" style="width:60%;display:inline" title="请输入密码">
		            </div>
		          </div>
		        </div>
		        <div class="form-group">
		          <div class="col-md-12">
		            <input id="login" type="submit" value="登录" class="btn btn-primary col-md-offset-3 col-md-2" >
		          </div>
		        </div>		    	
		      </form>		      
		</div>
	</div>
</body>

css:


*, body { font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
body { margin-bottom: 30px; }
h3 {	
	margin-left: 30px;	
	color: black;
}
.green { color: #3C3; }
.gray { color: #999; }

.form-horizontal .control-label { padding-top: 0; }
.form-horizontal.templatemo-payment-form .radio.templatemo-no-padding-top {	padding-top: 0; }
.control-wrapper {
	position: relative;
	padding-left: 30px;
}
.control-wrapper label.fa-label {
	position: absolute;
	left: 4px;
	top: 6px;
}
.form-group:last-child { margin-bottom: 0; }

.templatemo-form-list-container { max-width: 600px; }
.loginInput { position: relative; }
.loginInput .fa {
	color: gray;
	position: absolute;
	left: 10px;
	top: 10px;
}

.templatemo-container {
	background-color: rgba(255,255,255,0.8);
	border: 1px solid #dedede;
	border-radius: 8px;
	margin: 0 auto;
	padding: 30px;
}
.loginPage {
	background-color: rgb(70, 90, 40);
	background-image: url(img4.jpg);
}
.loginPage {
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;	
}
.loginPage { background-size: cover; }
.font-size-small { font-size: 0.8em; }
.margin-bottom-15 {	margin-bottom: 15px; }
.margin-bottom-30 {	margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group a {	line-height: 34px; }
.fa { font-size: 16px; }
.fa.login-with {
	font-size: 30px;
	margin: 0 5px;
}
.fa-medium { font-size: 20px; }


.loginForm {
	background: rgba(255,255,240,0.4);
	border-radius: 8px;
	color: rgb(197,197,197);
	max-width: 500px;
	margin: 30px auto 0 auto;
	padding: 30px 0px 30px 90px;
}



转载于:https://my.oschina.net/AnymoreCoder/blog/778730

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值