加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lyear_forms_radio.html 4.97 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-radio">
<input type="radio" name="r1">
<span>默认单选框</span>
</label>
<label class="lyear-radio radio-grey m-t-10">
<input type="radio" name="r1">
<span>灰色单选框</span>
</label>
<label class="lyear-radio radio-primary m-t-10">
<input type="radio" checked="" name="r1">
<span>主色单选框</span>
</label>
<label class="lyear-radio m-t-10">
<input type="radio" disabled="" name="r1">
<span>禁用的</span>
</label>
</div>
<p class="m-t-10">对于内联复选框 <code>.checkbox-inline</code></p>
<div class="example-box">
<label class="lyear-radio radio-inline radio-primary">
<input type="radio" name="e"><span>羽毛球</span>
</label>
<label class="lyear-radio radio-inline radio-primary">
<input type="radio" name="e"><span>冰球</span>
</label>
<label class="lyear-radio radio-inline radio-primary">
<input type="radio" name="e"><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-radio radio-primary">
<input type="radio" checked="">
<span>Primary(主色)</span>
</label>
<label class="lyear-radio radio-success m-t-10">
<input type="radio" checked="">
<span>Success(成功)</span>
</label>
<label class="lyear-radio radio-secondary m-t-10">
<input type="radio" checked="">
<span>Secondary(灰色)</span>
</label>
<label class="lyear-radio radio-info m-t-10">
<input type="radio" checked="">
<span>Info(一般信息)</span>
</label>
<label class="lyear-radio radio-warning m-t-10">
<input type="radio" checked="">
<span>Warning(警告)</span>
</label>
<label class="lyear-radio radio-danger m-t-10">
<input type="radio" checked="">
<span>Danger(警告)</span>
</label>
<label class="lyear-radio radio-dark m-t-10">
<input type="radio" checked="">
<span>Dark(黑色)</span>
</label>
<label class="lyear-radio radio-purple m-t-10">
<input type="radio" checked="">
<span>Purple(紫色)</span>
</label>
<label class="lyear-radio radio-pink m-t-10">
<input type="radio" checked="">
<span>Pink(粉红色)</span>
</label>
<label class="lyear-radio radio-cyan m-t-10">
<input type="radio" checked="">
<span>Cyan(青色)</span>
</label>
<label class="lyear-radio radio-yellow m-t-10">
<input type="radio" checked="">
<span>Yellow(黄色)</span>
</label>
<label class="lyear-radio radio-brown m-t-10">
<input type="radio" 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>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化