Sebuahhobi98

switch

Jun 6th, 2020
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 5.74 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.   <meta charset="utf-8">
  5.   <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6.   <title>Example</title>
  7.   <link href="css/bootstrap.min.css" rel="stylesheet">
  8.   <link href="css/component-custom-switch.css" rel="stylesheet">
  9. </head>
  10. <body class="">
  11.   <div class="container">
  12.     <div class="row">
  13.       <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
  14.         <div class="form-group">
  15.           <label>Switch 1</label>
  16.           <div class="custom-switch custom-switch-label-yesno pl-0">
  17.             <input class="custom-switch-input" id="r1" type="checkbox">
  18.             <label class="custom-switch-btn" for="r1"></label>
  19.             <div class="custom-switch-content-checked my-3">
  20.               <span class="text-success">Checked</span>
  21.             </div>
  22.             <div class="custom-switch-content-unchecked my-3">
  23.               <span class="text-danger">Unchecked</span>
  24.             </div>
  25.           </div>
  26.         </div>
  27.       </div>
  28.       <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
  29.         <div class="form-group">
  30.           <label>Switch 2</label>
  31.           <div class="custom-switch custom-switch-label-yesno pl-0">
  32.             <input class="custom-switch-input" id="r2" type="checkbox">
  33.             <label class="custom-switch-btn" for="r2"></label>
  34.             <div class="custom-switch-content-checked my-3">
  35.               <span class="text-success">Checked</span>
  36.             </div>
  37.             <div class="custom-switch-content-unchecked my-3">
  38.               <span class="text-danger">Unchecked</span>
  39.             </div>
  40.           </div>
  41.         </div>
  42.       </div>
  43.       <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
  44.         <div class="form-group">
  45.           <label>Switch 3</label>
  46.           <div class="custom-switch custom-switch-label-yesno pl-0">
  47.             <input class="custom-switch-input" id="r3" type="checkbox">
  48.             <label class="custom-switch-btn" for="r3"></label>
  49.             <div class="custom-switch-content-checked my-3">
  50.               <span class="text-success">Checked</span>
  51.             </div>
  52.             <div class="custom-switch-content-unchecked my-3">
  53.               <span class="text-danger">Unchecked</span>
  54.             </div>
  55.           </div>
  56.         </div>
  57.       </div>
  58.       <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
  59.         <div class="form-group">
  60.           <label>Switch 4</label>
  61.           <div class="custom-switch custom-switch-label-yesno pl-0">
  62.             <input class="custom-switch-input" id="r4" type="checkbox">
  63.             <label class="custom-switch-btn" for="r4"></label>
  64.             <div class="custom-switch-content-checked my-3">
  65.               <span class="text-success">Checked</span>
  66.             </div>
  67.             <div class="custom-switch-content-unchecked my-3">
  68.               <span class="text-danger">Unchecked</span>
  69.             </div>
  70.           </div>
  71.         </div>
  72.       </div>
  73.       <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
  74.         <div class="form-group">
  75.           <label>Switch 5</label>
  76.           <div class="custom-switch custom-switch-label-yesno pl-0">
  77.             <input class="custom-switch-input" id="r5" type="checkbox">
  78.             <label class="custom-switch-btn" for="r5"></label>
  79.             <div class="custom-switch-content-checked my-3">
  80.               <span class="text-success">Checked</span>
  81.             </div>
  82.             <div class="custom-switch-content-unchecked my-3">
  83.               <span class="text-danger">Unchecked</span>
  84.             </div>
  85.           </div>
  86.         </div>
  87.       </div>
  88.       <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
  89.         <div class="form-group">
  90.           <label>Switch 6</label>
  91.           <div class="custom-switch custom-switch-label-yesno pl-0">
  92.             <input class="custom-switch-input" id="r6" type="checkbox">
  93.             <label class="custom-switch-btn" for="r6"></label>
  94.             <div class="custom-switch-content-checked my-3">
  95.               <span class="text-success">Checked</span>
  96.             </div>
  97.             <div class="custom-switch-content-unchecked my-3">
  98.               <span class="text-danger">Unchecked</span>
  99.             </div>
  100.           </div>
  101.         </div>
  102.       </div>
  103.       <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
  104.         <div class="form-group">
  105.           <label>Switch 7</label>
  106.           <div class="custom-switch custom-switch-label-yesno pl-0">
  107.             <input class="custom-switch-input" id="r7" type="checkbox">
  108.             <label class="custom-switch-btn" for="r7"></label>
  109.             <div class="custom-switch-content-checked my-3">
  110.               <span class="text-success">Checked</span>
  111.             </div>
  112.             <div class="custom-switch-content-unchecked my-3">
  113.               <span class="text-danger">Unchecked</span>
  114.             </div>
  115.           </div>
  116.         </div>
  117.       </div>
  118.       <div class="col" style="padding-right: 50px; padding-bottom: 20px;">
  119.         <div class="form-group">
  120.           <label>Switch 8</label>
  121.           <div class="custom-switch custom-switch-label-yesno pl-0">
  122.             <input class="custom-switch-input" id="r8" type="checkbox">
  123.             <label class="custom-switch-btn" for="r8"></label>
  124.             <div class="custom-switch-content-checked my-3">
  125.               <span class="text-success">Checked</span>
  126.             </div>
  127.             <div class="custom-switch-content-unchecked my-3">
  128.               <span class="text-danger">Unchecked</span>
  129.             </div>
  130.           </div>
  131.         </div>
  132.       </div>
  133.  
  134.     </div>
  135.   </div>
  136.   </body>
  137.   </html>
Add Comment
Please, Sign In to add comment