bsformcontrols4/bs4-test.html
2023-08-21 23:41:12 +01:00

131 lines
4.5 KiB
HTML

<!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"> -->
<link href="bsformcontrols4.min.css" rel="stylesheet">
<title></title>
</head>
<body class="py-5">
<div class="container">
<div class="row pb-3 mb-3">
<div class="col-6 border-right">
<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>
<div class="pb-3 mb-3 border-bottom">
<p><b>Switch Examples</b></p>
<div class="mb-3 row">
<label for="switch6" class="col-sm-4 col-form-label-sm">Toggle Switch</label>
<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">Toggle Switch</label>
<div class="col-sm-8">
<label class="switch switch-primary">
<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-lg">Toggle Switch</label>
<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>
<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-4 col-form-label-sm">Toggle Checkbox</label>
<div class="col-sm-8">
<label class="chxbox chxbox-sm">
<input id="checkbox1" type="checkbox" />
<span class="chxbox-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="checkbox2" class="col-sm-4 col-form-label">Toggle Checkbox</label>
<div class="col-sm-8">
<label class="chxbox">
<input id="checkbox2" type="checkbox" />
<span class="chxbox-slider"></span>
</label>
</div>
</div>
<div class="mb-3 row">
<label for="checkbox3" class="col-sm-4 col-form-label-lg">Toggle Checkbox</label>
<div class="col-sm-8">
<label class="chxbox chxbox-lg">
<input id="checkbox3" type="checkbox" />
<span class="chxbox-slider"></span>
</label>
</div>
</div>
</div>
</div>
<div class="col-6">
</div>
</div>
</div>
</body>
</html>