代码拉取完成,页面将自动刷新
同步操作将从 笔下光年/Light Year Admin Using v5 For Example 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta name="keywords" content="LightYear,LightYearAdmin,光年,后台模板,后台管理系统,光年HTML模板">
<meta name="description" content="Light Year Admin V5是一个基于Bootstrap v5.1.3的后台管理系统的HTML模板。">
<title>可用的一些布局(搜索框篇) - 光年(Light Year Admin V4)后台管理系统模板</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="stylesheet" type="text/css" href="css/materialdesignicons.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.min.css">
<style>
/* 默认的搜索框 */
.lyear-search {
position: relative;
z-index: 0;
display: -webkit-inline-box;
display: inline-flex;
}
.lyear-search input {
width: 300px;
padding-left: 35px;
-webkit-transition: .5s;
transition: .5s;
}
.lyear-search.lyear-search-right input {
padding-left: 12px;
padding-right: 35px;
}
.lyear-search::before {
content: "\f0349";
font-family: "Material Design Icons";
font-size: 24px;
position: absolute;
z-index: 99;
top: 0px;
left: 0px;
color: rgba(77,82,89,0.4);
width: 38px;
height: 38px;
text-align: center;
cursor: text;
}
.lyear-search.lyear-search-right::before {
left: auto;
right: 0px;
}
.lyear-search.lyear-search-rounder input {
border-radius: 19px
}
.lyear-search.lyear-search-rounder .btn:last-child {
border-top-right-radius: 19px;
border-bottom-right-radius: 19px;
}
.lyear-search.lyear-search-circle::before {
z-index: -1;
}
.lyear-search.lyear-search-circle input {
background-color: transparent;
-webkit-border-radius: 19px;
border-radius: 19px;
width: 38px;
padding-right: 0px;
padding-left: 38px;
}
.lyear-search.lyear-search-circle input:focus {
width: 100%;
padding-right: 12px;
}
.lyear-search.lyear-search-circle.lyear-search-right input:focus {
width: 300px;
padding-left: 12px;
}
.lyear-search.lyear-search-noicon::before {
content: '';
}
.lyear-search.lyear-search-noicon .btn {
padding-top: 2px;
padding-bottom: 3px;
}
.lyear-search.lyear-search-noicon .btn .mdi {
line-height: 29px;
font-size: 20px;
vertical-align: top;
}
.lyear-search.lyear-search-noicon.lyear-search-left input {
padding-left: 12px;
}
.lyear-search.lyear-search-noicon.lyear-search-right input {
padding-right: 12px;
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="card">
<header class="card-header">
<div class="card-title">可用的一些布局 - 搜索框篇</div>
</header>
<div class="card-body">
<p>搜索框布局演示,布局来源于网络,大家看需要使用,O(∩_∩)O。</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header"><div class="card-title">搜索框</div></div>
<div class="card-body">
<p>图标默认左侧</p>
<div class="mb-3">
<form class="lyear-search">
<input type="text" name="keywords" class="form-control" placeholder="请输入搜索的关键词...">
</form>
</div>
<p>右侧图标</p>
<div class="mb-3">
<form class="lyear-search lyear-search-right">
<input type="text" name="keywords" class="form-control" placeholder="请输入搜索的关键词...">
</form>
</div>
<p>圆形样式</p>
<div class="mb-3">
<form class="lyear-search lyear-search-right lyear-search-rounder w-200-px">
<input type="text" name="keywords" class="form-control" placeholder="请输入搜索的关键词...">
</form>
</div>
<p>可点击按钮</p>
<div class="mb-3">
<form class="lyear-search lyear-search-left">
<div class="input-group">
<input type="text" name="keywords" class="form-control" placeholder="请输入搜索的关键词...">
<button type="button" class="btn btn-default">搜索</button>
</div>
</form>
</div>
<p>圆形可点击按钮</p>
<div class="mb-3">
<form class="lyear-search lyear-search-left lyear-search-rounder">
<div class="input-group">
<input type="text" name="keywords" class="form-control" placeholder="请输入搜索的关键词...">
<button type="button" class="btn btn-default">搜索</button>
</div>
</form>
</div>
<p>图标放按钮上</p>
<div class="mb-3">
<form class="lyear-search lyear-search-left lyear-search-noicon">
<div class="input-group">
<input type="text" name="keywords" class="form-control" placeholder="请输入搜索的关键词...">
<div class="input-group-append">
<button type="button" class="btn btn-default"><i class="mdi mdi-magnify"></i></button>
</div>
</div>
</form>
</div>
<p>可伸缩的搜索框(这里需要禁止输入框提示历史记录 <code>autocomplete="off"</code>)</p>
<div class="mb-3">
<form class="lyear-search lyear-search-left lyear-search-circle">
<input type="text" name="keywords" class="form-control" placeholder="请输入搜索的关键词..." autocomplete="off">
</form>
</div>
<div class="mb-3 text-end">
<form class="lyear-search lyear-search-right lyear-search-circle">
<input type="text" name="keywords" class="form-control" placeholder="请输入搜索的关键词..." autocomplete="off">
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/popper.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/main.min.js"></script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。