-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path48.FormularioSwitch.html
More file actions
43 lines (41 loc) · 2.15 KB
/
Copy path48.FormularioSwitch.html
File metadata and controls
43 lines (41 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Formulario Switch</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</head>
<body>
<div class="container-fluid">
<form>
<h2>Interruptores</h2>
<div class="form-check form-switch">
<input type="checkbox" name="switch1" id="switch1" class="form-check-input">
<label class="form-check-label" for="switch1">Interruptor inicial</label>
</div>
<div class="form-check form-switch">
<input type="checkbox" name="switch2" id="switch2" class="form-check-input" checked>
<label class="form-check-label" for="switch2">Interruptor seleccionado</label>
</div>
<div class="form-check form-switch">
<input type="checkbox" name="switch3" id="switch3" class="form-check-input" disabled>
<label class="form-check-label" for="switch3">Interruptor desactivado</label>
</div>
<div class="form-check form-switch">
<input type="checkbox" name="switch4" id="switch4" class="form-check-input" disabled checked>
<label class="form-check-label" for="switch4">Interruptor desactivado selecionado</label>
</div>
<hr>
<h2>Botones de estado</h2>
<input type="checkbox" name="boton1" class="btn-check" id="boton1" autocomplete="off">
<label class="btn btn-success" for="boton1">Boton estado 1</label>
<input type="checkbox" name="boton2" class="btn-check" id="boton2" autocomplete="off" checked>
<label class="btn btn-primary" for="boton2">Boton estado seleccionado</label>
<input type="checkbox" name="boton3" class="btn-check" id="boton3" autocomplete="off" disabled>
<label class="btn btn-danger" for="boton3">Boton estado desactivado</label>
</form>
</div>
</body>
</html>