bsformcontrols4/bs4-test.html

172 lines
6.1 KiB
HTML
Raw Permalink Normal View History

2023-08-21 22:41:12 +00:00
<!doctype html>
<html lang="en-GB">
<head>
<meta charset="UTF-8" />
<meta http-equiv="content-type" content="text/html" charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="keyword" content="" />
<!-- jquery -->
<script src="http://cdn.hiimray.co.uk/8206c600-707c-469e-8d49-a76ae35782af/jquery/3.7.0/dist/jquery.min.js"></script>
<!-- bootstrap -->
<script src="http://cdn.hiimray.co.uk/8206c600-707c-469e-8d49-a76ae35782af/bootstrap/4.6.2/dist/js/bootstrap.bundle.min.js"></script>
<link href="http://cdn.hiimray.co.uk/8206c600-707c-469e-8d49-a76ae35782af/bootstrap/4.6.2/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="src/switch.css" rel="stylesheet">
<link href="src/checkbox.css" rel="stylesheet">
2023-08-21 22:41:12 +00:00
<!-- <link href="bsformcontrols4.min.css" rel="stylesheet"> -->
2023-08-21 22:41:12 +00:00
<title></title>
</head>
<body class="py-5">
<div class="container">
<div class="row pb-3 mb-3">
<div class="col-6 border-right">
<!--
2023-08-21 22:41:12 +00:00
<div class="pb-3 mb-3 border-bottom">
<p><b>Textbox Examples (BS4)</b></p>
<div class="mb-3 row">
<label for="control6" class="col-sm-4 col-form-label col-form-label-sm">Textbox</label>
<div class="col-sm-8">
<input type="text" class="form-control form-control-sm" id="control6" placeholder="textbox">
</div>
</div>
<div class="mb-3 row">
<label for="control2" class="col-sm-4 col-form-label">Textbox</label>
<div class="col-sm-8">
<input type="text" class="form-control" id="control2" placeholder="textbox">
</div>
</div>
<div class="mb-3 row">
<label for="control4" class="col-sm-4 col-form-label col-form-label-lg">Textbox</label>
<div class="col-sm-8">
<input type="text" class="form-control form-control-lg" id="control4" placeholder="textbox">
</div>
</div>
</div>
-->
2023-08-21 22:41:12 +00:00
<div class="pb-3 mb-3 border-bottom">
<p><b>Switch Examples</b></p>
<div class="mb-3 row">
<label for="switch16" class="col-sm-4 col-form-label col-form-label-sm">Toggle Switch XS</label>
<div class="col-sm-8">
<label class="switch switch-xs switch-primary">
<input id="switch16" type="checkbox" />
<span class="switch-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="switch6" class="col-sm-4 col-form-label col-form-label-sm">Toggle Switch SM</label>
2023-08-21 22:41:12 +00:00
<div class="col-sm-8">
<label class="switch switch-sm switch-primary">
<input id="switch6" type="checkbox" />
<span class="switch-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="switch2" class="col-sm-4 col-form-label col-form-label-md">Toggle Switch MD</label>
2023-08-21 22:41:12 +00:00
<div class="col-sm-8">
<label class="switch switch-md switch-primary">
2023-08-21 22:41:12 +00:00
<input id="switch2" type="checkbox" />
<span class="switch-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="switch1" class="col-sm-4 col-form-label col-form-label-lg">Toggle Switch LG</label>
2023-08-21 22:41:12 +00:00
<div class="col-sm-8">
<label class="switch switch-lg switch-primary">
<input id="switch1" type="checkbox" />
<span class="switch-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="switch21" class="col-sm-4 col-form-label col-form-label-lg">Toggle Switch XL</label>
<div class="col-sm-8">
<label class="switch switch-xl switch-primary">
<input id="switch21" type="checkbox" />
<span class="switch-slider"></span>
</label>
</div>
</div>
2023-08-21 22:41:12 +00:00
</div>
<div class="pb-3 mb-3 border-bottom">
<p><b>Checkbox Examples</b></p>
<div class="mb-3 row">
<label for="checkbox1" class="col-sm-6 col-form-label-sm">Toggle Checkbox XS</label>
<div class="col-sm-6">
<label class="chxbox chxbox-xs">
2023-08-21 22:41:12 +00:00
<input id="checkbox1" type="checkbox" />
<span class="chxbox-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="checkbox2" class="col-sm-6 col-form-label">Toggle Checkbox SM</label>
<div class="col-sm-6">
<label class="chxbox chxbox-sm">
2023-08-21 22:41:12 +00:00
<input id="checkbox2" type="checkbox" />
<span class="chxbox-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="checkbox22" class="col-sm-6 col-form-label">Toggle Checkbox MD</label>
<div class="col-sm-6">
<label class="chxbox chxbox-md">
<input id="checkbox22" type="checkbox" />
<span class="chxbox-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="checkbox32" class="col-sm-6 col-form-label">Toggle Checkbox LG</label>
<div class="col-sm-6">
2023-08-21 22:41:12 +00:00
<label class="chxbox chxbox-lg">
<input id="checkbox32" type="checkbox" />
<span class="chxbox-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="checkbox3" class="col-sm-6 col-form-label-lg">Toggle Checkbox XL</label>
<div class="col-sm-6">
<label class="chxbox chxbox-xl">
2023-08-21 22:41:12 +00:00
<input id="checkbox3" type="checkbox" />
<span class="chxbox-slider"></span>
</label>
</div>
</div>
</div>
</div>
<div class="col-6">
</div>
</div>
</div>
</body>
</html>