bootstrap登陆页面设计



@{
    ViewBag.Title = "";
}


<style type="text/css">

//画圆

    .circle {
    width: 100%;
    height: 100%;
    background: #7295A0;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}




</style>
<from   >
    <body  style="width:100%">
        <div style="width:100%;min-height:600px ;  border:red 1px solid; position:relative; ">
            <img style="position:absolute;left:0px;top:0px;width:100%;height:100%;z-Index:-1; border:1px solid blue" src="~/img/back_04.jpg" />
            <p>
                @Html.Encode(ViewData["Message"])
            </p>


           
            <div style="width:40%;background-color:#e6e0e0 ;height:20%   ;-webkit-border-radius: 15px; -moz-border-radius: 15px; margin: 0 auto; margin-top:20%">
               
                <div  class="circle">
                 <table   class="table  ">
                      
                    <tr>
                        <td class="text-center"></td>
                        <td class="text-center">  <h4 style="color:#013150;font-weight:bold">何庆兰测试系统</h4>   </td>
                      <td></td>
                    </tr>


                    <tr >
                        <td class="text-center">用户名:</td>
                        <td class="text-center" colspan="2" > @Html.TextBox("UserName", "",  new { @class = "form-control" })    </td>
                        
                    </tr>
                    <tr >
                        <td class="text-center">密码:</td>
                        <td class="text-center" colspan="2"> @Html.TextBox("Password", "", new { @class = "form-control" })  </td>
                        
                    </tr>
                    <tr>


                        <td></td>
                        <td  class="text-center"><input type="button" value="登录" name="btnLogin" class="btn btn-primary " /></td>
                       
                        <td class="text-right"><input type="button" value="忘记密码" name="btnforgotPass" class="btn btn-link" /></td>
                    </tr>
                    <tr>
                    <td></td>
                     
                      




                    </tr>




                </table>
            </div>


</div>


        </div>






    </body>
</from>



  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值