没有合适的资源?快使用搜索试试~ 我知道了~
首页Bootstrap实现前端登录页面带验证码功能完整示例
本文实例讲述了Bootstrap实现前端登录页面带验证码功能。分享给大家供大家参考,具体如下: Bootstrap有自定义的验证码样式,在前端页面可以直接使用,他的css、js在使用前要在开头引入 上代码: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <!-- 告诉浏览器网页所识别的文件类型及语言类型 --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>登录</title> <!-- 让一些搜索引擎搜索到你的网页 -
资源详情
资源评论
资源推荐

Bootstrap实现前端登录页面带验证码功能完整示例实现前端登录页面带验证码功能完整示例
本文实例讲述了Bootstrap实现前端登录页面带验证码功能。分享给大家供大家参考,具体如下:
Bootstrap有自定义的验证码样式,在前端页面可以直接使用,他的css、js在使用前要在开头引入
上代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- 告诉浏览器网页所识别的文件类型及语言类型 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>登录</title>
<!-- 让一些搜索引擎搜索到你的网页 -->
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="external nofollow" >
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"></script>
<script src="tool.js"></script>
<style>
.carousel-inner img {
width:100%;
height:100%;
}
.jumbotron {
margin-top: 10px;
margin-bottom: 0px;
padding-top: 10px;
}
#demo {
width:100%;
height: 500px;
}
.row {
height: 264px;
}
.left {
float: left;
width: 70%;
}
.right {
float: left;
width: 30%;
}
.card {
height: 340px;
}
.carousel-inner {
height: 500px;
}
.footer {
position: absolute;
bottom: 0;
height: 60px;
}
.jumheight1 {
height: 100px;
}
.jumheight2 {
height: 100px;
}
.end_name {
margin-bottom: 5px;
}
.footer2 {
padding-top: 210px;
text-align: center;
}
.test{
margin-bottom: 75px;
}
.carousel-control-prev,
.carousel-control-next{
bottom: 120px;
}
</style>
</head>
<body>
<div>
<form class="form active" method="post" action="{:url('index/Login/doLogin')}">
<div class="jumbotron text-info bg-light jumheight1">
<h1>图书阅读网</h1>
<p>一个免费的图书网站</p>
</div>
<!-- 轮播图 -->
<!-- 指示符 -->
<div class="row">
<div class="left">
<div id="demo" class="carousel slide " data-ride="carousel">
<ul class="carousel-indicators">
<li data-target="#demo" data-slide-to="0" class="active"></li>
<li data-target="#demo" data-slide-to="1"></li>
<li data-target="#demo" data-slide-to="2"></li>
</ul>
<!-- 轮播图片 -->
<div class="carousel-inner">
<div class="carousel-item active">
<img src="http://static.runoob.com/images/mix/img_fjords_wide.jpg">
</div>
<div class="carousel-item">
<img src="http://static.runoob.com/images/mix/img_nature_wide.jpg">
</div>
<div class="carousel-item">
<img src="http://static.runoob.com/images/mix/img_mountains_wide.jpg">
</div>
</div>
<!-- 左右切换按钮 -->
<a href="#demo" rel="external nofollow" rel="external nofollow" class="carousel-control-prev" data-slide="prev">
<span class="carousel-control-prev-icon"></span>














安全验证
文档复制为VIP权益,开通VIP直接复制

评论0