直接贴代码了
<!DOCTYPE html> <html lang="en"> <head> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>用户注册</title> <link href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.css" rel="stylesheet"> <link href="qikuai.css" rel="stylesheet"> <script src="/UploadFiles/2021-04-02/jquery.min.js">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; }效果图:
如果大家还想深入学习,可以点击这里进行学习,再为大家附3个精彩的专题:
Bootstrap学习教程
Bootstrap实战教程
Bootstrap插件使用教程
以上就是本文的全部内容,希望对大家学习Bootstrap有所帮助。
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
暂无“Bootstrap模仿起筷首页效果”评论...
P70系列延期,华为新旗舰将在下月发布
3月20日消息,近期博主@数码闲聊站 透露,原定三月份发布的华为新旗舰P70系列延期发布,预计4月份上市。
而博主@定焦数码 爆料,华为的P70系列在定位上已经超过了Mate60,成为了重要的旗舰系列之一。它肩负着重返影像领域顶尖的使命。那么这次P70会带来哪些令人惊艳的创新呢?
根据目前爆料的消息来看,华为P70系列将推出三个版本,其中P70和P70 Pro采用了三角形的摄像头模组设计,而P70 Art则采用了与上一代P60 Art相似的不规则形状设计。这样的外观是否好看见仁见智,但辨识度绝对拉满。
更新动态
2024年05月09日
2024年05月09日
- 群星 再次征服挑剔的耳朵《发烧天籁女声 5CD》[WAV+CUE][3.3GB]
- 费玉清《一剪梅 HQCD 不朽的经典》[WAV+CUE][670MB]
- 西游笔绘西行新手攻略 新手入门指南分享
- 崩坏星穹铁道椒丘遗器怎么选 崩铁椒丘遗器搭配攻略
- 西游笔绘西行怎么预约 游戏预约方法分享
- 《战争机器人:前线》基础攻略 简述+配置+下载
- 《瑞奇与叮当:时空跳转》评测:穿越机能秀
- 图虽然老 但她实在太大了 动图 少妇春色满园遮不住啊
- SYMPHONIESINHI-FI2(发烧交响乐2)MQGCD2022原抓WAV
- CD圣经上榜天碟1996-李谷一-《秋水伊人》[LPCD45][WAV+CUE]
- [ABC唱片]-《西电之声—人声》[德国版HD]WAV+CUE
- 《地狱潜者2》Reddit社区发文 呼吁大家撤销游戏差评
- 外媒评选期待已久的15款游戏:《老滚6》杳无音讯
- 不是自愿给的吗!越来越多美国人被小费文化逼疯
- 张智成.2019-你是不是张智成【海蝶音乐】【FLAC分轨】