| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <!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><label></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>
|