加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lyear_forms_checkbox.html 4.89 KB
一键复制 编辑 原始数据 按行查看 历史
笔下光年 提交于 2019-04-03 21:36 . 上传项目
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>复选框 - 光年(Light Year Admin)后台管理系统模板</title>
<link rel="icon" href="favicon.ico" type="image/ico">
<meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
<meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
<meta name="author" content="yinqi">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/materialdesignicons.min.css" rel="stylesheet">
<link href="css/style.min.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid p-t-15">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header"><h4>基本样式</h4></div>
<div class="card-body">
<p>这很容易。将 <code>.checkbox</code> 类添加到<code>&lt;label&gt;</code></p>
<div class="example-box">
<label class="lyear-checkbox">
<input type="checkbox">
<span>默认复选框</span>
</label>
<label class="lyear-checkbox m-t-10">
<input type="checkbox" checked="">
<span>选中的</span>
</label>
<label class="lyear-checkbox checkbox-grey m-t-10">
<input type="checkbox">
<span>灰色背景复选框</span>
</label>
<label class="lyear-checkbox m-t-10">
<input type="checkbox" disabled="">
<span>禁用的</span>
</label>
</div>
<p class="m-t-10">对于内联复选框 <code>.checkbox-inline</code></p>
<div class="example-box">
<label class="lyear-checkbox checkbox-inline checkbox-primary">
<input type="checkbox"><span>篮球</span>
</label>
<label class="lyear-checkbox checkbox-inline checkbox-primary">
<input type="checkbox"><span>足球</span>
</label>
<label class="lyear-checkbox checkbox-inline checkbox-primary">
<input type="checkbox"><span>排球</span>
</label>
</div>
</div>
</div>
<div class="card">
<div class="card-header"><h4>颜色</h4></div>
<div class="card-body">
<p>添加 <code>.checkbox-*</code> 用于更改复选框的外观:<code>.checkbox-primary</code> <code>.checkbox-info</code>...</p>
<div class="example-box">
<label class="lyear-checkbox checkbox-primary m-t-10">
<input type="checkbox" checked=""><span>Primary(主色)</span>
</label>
<label class="lyear-checkbox checkbox-success m-t-10">
<input type="checkbox" checked=""><span>Success(成功)</span>
</label>
<label class="lyear-checkbox checkbox-secondary m-t-10">
<input type="checkbox" checked=""><span>Secondary(灰色)</span>
</label>
<label class="lyear-checkbox checkbox-info m-t-10">
<input type="checkbox" checked=""><span>Info(一般信息)</span>
</label>
<label class="lyear-checkbox checkbox-warning m-t-10">
<input type="checkbox" checked=""><span>Warning(警告)</span>
</label>
<label class="lyear-checkbox checkbox-danger m-t-10">
<input type="checkbox" checked=""><span>Danger(危险)</span>
</label>
<label class="lyear-checkbox checkbox-dark m-t-10">
<input type="checkbox" checked=""><span>Dark(黑色)</span>
</label>
<label class="lyear-checkbox checkbox-purple m-t-10">
<input type="checkbox" checked=""><span>Purple(紫色)</span>
</label>
<label class="lyear-checkbox checkbox-pink m-t-10">
<input type="checkbox" checked=""><span>Pink(粉红色)</span>
</label>
<label class="lyear-checkbox checkbox-cyan m-t-10">
<input type="checkbox" checked=""><span>Cyan(青色)</span>
</label>
<label class="lyear-checkbox checkbox-yellow m-t-10">
<input type="checkbox" checked=""><span>Yellow(黄色)</span>
</label>
<label class="lyear-checkbox checkbox-brown m-t-10">
<input type="checkbox" checked=""><span>Brown(棕色)</span>
</label>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery.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>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化