JSFiddle - React, Tailwind, and code Playground

by Олег

HTML

<li class="list-group-item">
   <div class="material-switch pull-right">
      <input id="cr" onclick="func();" checked="" type="checkbox" name="cr"/>
      <label for="cr" class="label-default"></label>
   </div>
   <div class="material-switch pull-right">
      <input id="cr2" onclick="func();" checked="" type="checkbox" name="cr"/>
      <label for="cr2" class="label-default"></label>
   </div>
</li>


















































<div class="footer">
Помогу в решении любого вопроса js, css, html, svg, canvas, animation, php
Модули, комопненты под joomla, wordpress, opencart, modX, drupal, DLE, prestashop
Шрифты! Любые дополнительные символы к стандартным! Локализация к Вашему языку<br>Аккаунт на тостере <a href="https://toster.ru/user/politon">toster.ru/user/politon</a><br><span>E-mail: oleg@w3schools.ru</span><br><span>Skype: politon81</span>
</div>
<!--Любое решение вопросов
E-mail: oleg@w3schools.ru
js, css, html, svg, canvas, animation, php
Модули, комопненты под joomla, wordpress, opencart, modX, drupal, DLE, prestashop
Шрифты! Любые дополнительные символы к стандартным! Локализация к Вашему языку
E-mail: oleg@w3schools.ru
Skype: politon81
-->

CSS

.material-switch{
  position:relative;
  width:200px;
  background:#e7e7e7;
  margin-bottom:3px;
}
.label-default{
  position:absolute;
  width:100%;
  height:100%;
}























































































/*Это не относится к Вашему коду*/
.footer{
  position:absolute;
  bottom:20px;
  right:20px;
  font-size:0.7em;
  background:#ff0;
}
span{
  color:#f00;
  font-weight:bold;
}