HTML基于bootstrap的登录弹出框
来源:互联网 发布:淘宝小二可以介入几次 编辑:程序博客网 时间:2024/06/04 00:32
需要引用bootstrap的js库。
js中的引用方式,用jQuery的fadein fadeout;
$(".theme-popover.login").fadeIn(); //打开登录框
/**
*登录框
*/
.theme-popover {z-index:9999;position:fixed;top:25%;left:35%;width:30%;height:360px;border-radius:5px;border:solid 2px #666;background-color:#fff;display:none;box-shadow:0 0 10px #666;}
.theme-poptit {border-bottom:1px solid #ddd;padding:12px;position:relative;background:#f3f3f3;}
.theme-poptit h3{padding:0;margin:0;text-indent:35px;font-family:"微软雅黑","宋体";color:#333;font-weight:normal;}
.theme-popbod {padding:20px 15px;color:#444;height:148px;}
.theme-popbom {padding:15px;background-color:#f6f6f6;border-top:1px solid #ddd;border-radius:0 0 5px 5px;color:#666;}
.theme-popbom a {margin-left:8px}
.theme-poptit .close {float:right;color:#999;padding:5px;margin:-2px -5px -5px;font:bold 14px/14px simsun;text-shadow:0 1px 0 #ddd;}
.theme-poptit .close:hover {color:#444;}
.theme-poptit img{display:block;float:left;width:24px;height:24px;position:absolute;top:13px;left:15px;}
<!--登录弹出框-->
<div class="theme-popover login" ><div class="theme-poptit">
<a href="javascript:;" title="关闭" class="close">×</a>
<img src="../../assets/images/gather/smlogo.png" title="logo"/>
<h3>登录</h3>
</div>
<div class="theme-popbod dform">
<div class="form-horizontal">
<div class="form-group">
<label for="userName" class="col-sm-3 control-label">用户名:</label>
<div class="col-sm-8" style="padding-left: 0px">
<input type="text" class="form-control" id="userName" placeholder="用户名">
</div>
</div>
<div class="form-group">
<label for="passWord" class="col-sm-3 control-label">密码 :</label>
<div class="col-sm-8"style="padding-left: 0px">
<input type="password" class="form-control" id="passWord" placeholder="密码">
</div>
</div>
<div class="form-group">
<label for="verifycode" class="col-sm-3 control-label">验证码:</label>
<div class="col-sm-4" style="padding-left: 0px">
<input type="text" class="form-control" id="verifycode" placeholder="验证码">
</div>
<div id="chverifycodeImg" class="col-sm-4" style="padding-top:6px;" >
<img id="verifycodeImg" src='' title="点击刷新" style="cursor: pointer;"/>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-1 col-sm-10" >
<button id="sub-login" class="sign-button" >登 录</button>
<%--<button id="sub-login" type="button" class="btn btn-primary"> 登 录 </button>--%>
</div>
</div>
</div>
</div>
</div>
- HTML基于bootstrap的登录弹出框
- 基于bootstrap的弹出框插件
- Html登录弹出框的实现
- bootstrap弹出登录框【带合法性检查】
- bootstrap弹出登录框【带合法性检查】
- bootStrap 写的弹出框
- Bootstrap.js 弹出框的使用方法
- bootstrap model弹出框的使用
- bootstrap modal弹出框的垂直居中
- bootstrap model弹出框的使用
- bootstrap model弹出框的使用
- 登录弹出框的实现
- Bootstrap 基于HTML,CSS,JAVASCRIPT的简洁灵活的
- html规范(基于bootstrap和平时的积累)
- bootstrap modal弹出框
- bootstrap弹出框
- bootstrap弹出框居中
- Bootstrap 弹出框
- PHP常用的四种排序方法及二种查找方法
- 安卓软键盘弹出,遮挡控件的问题
- select2控件动态更新option
- 爬虫入门二(urllib,urllib2)
- 论IE8浏览器报错:"$"未定义及缺少对象问题
- HTML基于bootstrap的登录弹出框
- 干货|Python 装饰器详解
- 个人努力是成功的要素?——后记
- 转载谷歌 在运行时请求权限
- GitChat · 人工智能 | 如何零基础用 Keras 快速搭建实用深度学习模型
- Laravel框架数据库CURD操作、连贯操作总结
- 工业机器人来了,是淘汰还是新生?
- python基础入门一
- eclipse中使用JPA根据数据库表自动生成注解实体类