Bootstrap模仿起筷首页效果
来源: 阅读:1192 次 日期:2016-07-01 16:21:38
温馨提示: 小编为您整理了“Bootstrap模仿起筷首页效果”,方便广大网友查阅!

这篇文章主要为大家详细介绍了Bootstrap模仿起筷首页效果,具有一定的参考价值,感兴趣的小伙伴们可以参考一下

直接贴代码了

用户注册

Baidu
map

css代码:

.navbar{

height: 108px;

background-repeat: no-repeat;

box-shadow: 0 0 5px #999;

background-color: #fff;

border-bottom: 2px solid #e8e3dd;

}

.container{

width: 1170px;

padding-right: 15px;

padding-left: 15px;

margin-right: auto;

margin-left: auto;

}

.navbar-header{

float: left;

}

img{

vertical-align: middle;

border: 0;

}

.login-background{

background-image: url(/images/register-background.jpg);

background-size: 100% auto;

padding: 50px 0 15%;

height: 633px;

}

.login-panel{

background-color: #fff;

opacity: .95;

border-radius: 10px;

position: relative;

padding: 0 80px 20px;

width: 350px;

}

.login-title{

color: #333;

font-weight: 300px;

font-size: 24px;

position: absolute;

top: 40px;

left: 35px;

}

.login-panel,.form-group{

padding: 50px 0 5px;

display: table;

margin-left: auto;

margin-right: auto;

}

.form-group{

margin-bottom: 15px;

width: 100%;

float: left;

padding-left: 15px;

padding-right: 15px;

}

.login-panel .form-group{

padding-top: 45px;

}

.input-block{

padding: 11px 0;

}

.has-feedback{

padding-right: 0;

position: relative;

}

.form-control{

color: #777;

height: 37px;

border: 1px solid #939393;

padding-right: 42.5px;

display: block;

width: 100%;

padding: 6px 12px;

font-size: 14px;

line-height: 1.42857143;

background-color: #fff;

border-radius: 4px;

}

.glyphicon{

position: absolute;

top: 0;

right: 0;

z-index: 2;

display: block;

width: 34px;

height: 34px;

line-height: 34px;

text-align: center;

pointer-events:none;

}

.auto-login{

padding-left: 0;

padding-right: 0;

text-align: left;

font-size: 12px;

color: #777;

vertical-align: middle;

width: 50%;

float: left;

}

label{

display: inline-block;

max-width: 100%;

}

.register-user{

padding-left: 0;

padding-right: 0;

text-align: right;

padding-top: 10px;

width: 50%;

float: left;

}

a{

text-decoration: none;

}

.row{

margin-right: -15px;

margin-left: -15px;

}

.login-button{

margin-top: 10px;

width: 100%;

position: relative;

min-height: 1px;

padding-right: 15px;

padding-left: 15px;

}

.btn{

background: #fa0;

color: #fff;

display: block;

width: 100%;

padding: 10px 16px;

font-size: 18px;

line-height: 1.33333;

border-radius: 6px;

font-weight: 400;

text-align: center;

vertical-align: middle;

}

效果图:

名单

以上就是本文的全部内容,希望对大家学习Bootstrap有所帮助。

更多信息请查看 网络编程
手机网站地址: Bootstrap模仿起筷首页效果
由于各方面情况的不断调整与变化, 提供的所有考试信息和咨询回复仅供参考,敬请考生以权威部门公布的正式信息和咨询为准!
关于我们| 联系我们| 人才招聘| 网站声明| 网站帮助| 非正式的简要咨询| 简要咨询须知| 加入群交流| 手机站点| 投诉建议
工业和信息化部备案号:滇ICP备2023014141号-1 云南省教育厅备案号:云教ICP备0901021 滇公网安备53010202001879号 人力资源服务许可证:(云)人服证字(2023)第0102001523号
云南网警备案专用图标
联系电话:0871-65317125(9:00—18:00) 获取招聘考试信息及咨询关注公众号:
咨询QQ:526150442(9:00—18:00) 版权所有:
云南网警报警专用图标
Baidu
map