Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <title>Example</title>
- <link href="css/bootstrap.min.css" rel="stylesheet">
- <link href="css/component-custom-switch.css" rel="stylesheet">
- </head>
- <body class="">
- <div class="container">
- <div class="row">
- <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
- <div class="form-group">
- <label>Switch 1</label>
- <div class="custom-switch custom-switch-label-yesno pl-0">
- <input class="custom-switch-input" id="r1" type="checkbox">
- <label class="custom-switch-btn" for="r1"></label>
- <div class="custom-switch-content-checked my-3">
- <span class="text-success">Checked</span>
- </div>
- <div class="custom-switch-content-unchecked my-3">
- <span class="text-danger">Unchecked</span>
- </div>
- </div>
- </div>
- </div>
- <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
- <div class="form-group">
- <label>Switch 2</label>
- <div class="custom-switch custom-switch-label-yesno pl-0">
- <input class="custom-switch-input" id="r2" type="checkbox">
- <label class="custom-switch-btn" for="r2"></label>
- <div class="custom-switch-content-checked my-3">
- <span class="text-success">Checked</span>
- </div>
- <div class="custom-switch-content-unchecked my-3">
- <span class="text-danger">Unchecked</span>
- </div>
- </div>
- </div>
- </div>
- <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
- <div class="form-group">
- <label>Switch 3</label>
- <div class="custom-switch custom-switch-label-yesno pl-0">
- <input class="custom-switch-input" id="r3" type="checkbox">
- <label class="custom-switch-btn" for="r3"></label>
- <div class="custom-switch-content-checked my-3">
- <span class="text-success">Checked</span>
- </div>
- <div class="custom-switch-content-unchecked my-3">
- <span class="text-danger">Unchecked</span>
- </div>
- </div>
- </div>
- </div>
- <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
- <div class="form-group">
- <label>Switch 4</label>
- <div class="custom-switch custom-switch-label-yesno pl-0">
- <input class="custom-switch-input" id="r4" type="checkbox">
- <label class="custom-switch-btn" for="r4"></label>
- <div class="custom-switch-content-checked my-3">
- <span class="text-success">Checked</span>
- </div>
- <div class="custom-switch-content-unchecked my-3">
- <span class="text-danger">Unchecked</span>
- </div>
- </div>
- </div>
- </div>
- <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
- <div class="form-group">
- <label>Switch 5</label>
- <div class="custom-switch custom-switch-label-yesno pl-0">
- <input class="custom-switch-input" id="r5" type="checkbox">
- <label class="custom-switch-btn" for="r5"></label>
- <div class="custom-switch-content-checked my-3">
- <span class="text-success">Checked</span>
- </div>
- <div class="custom-switch-content-unchecked my-3">
- <span class="text-danger">Unchecked</span>
- </div>
- </div>
- </div>
- </div>
- <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
- <div class="form-group">
- <label>Switch 6</label>
- <div class="custom-switch custom-switch-label-yesno pl-0">
- <input class="custom-switch-input" id="r6" type="checkbox">
- <label class="custom-switch-btn" for="r6"></label>
- <div class="custom-switch-content-checked my-3">
- <span class="text-success">Checked</span>
- </div>
- <div class="custom-switch-content-unchecked my-3">
- <span class="text-danger">Unchecked</span>
- </div>
- </div>
- </div>
- </div>
- <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
- <div class="form-group">
- <label>Switch 7</label>
- <div class="custom-switch custom-switch-label-yesno pl-0">
- <input class="custom-switch-input" id="r7" type="checkbox">
- <label class="custom-switch-btn" for="r7"></label>
- <div class="custom-switch-content-checked my-3">
- <span class="text-success">Checked</span>
- </div>
- <div class="custom-switch-content-unchecked my-3">
- <span class="text-danger">Unchecked</span>
- </div>
- </div>
- </div>
- </div>
- <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
- <div class="form-group">
- <label>Switch 8</label>
- <div class="custom-switch custom-switch-label-yesno pl-0">
- <input class="custom-switch-input" id="r8" type="checkbox">
- <label class="custom-switch-btn" for="r8"></label>
- <div class="custom-switch-content-checked my-3">
- <span class="text-success">Checked</span>
- </div>
- <div class="custom-switch-content-unchecked my-3">
- <span class="text-danger">Unchecked</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment