title: Checkbox custom style not display properly in Internet Explorer 11
body: <p>I am working on a custom checkbox. It's working well in Chrome, Mozilla, and Safari but not displaying properly in IE 11.</p>
  
  <p><a href="https://i.stack.imgur.com/c1KPy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c1KPy.png" alt="in this image checkbox is not properly displayed in IE 11"></a></p>
  
  <p>I have tried most in Stack Overflow to find answer related to this issue but I can't find one so I am asking here. See this code example:</p>
  
  <p><a href="https://jsfiddle.net/spvkomd1/" rel="nofollow noreferrer">https://jsfiddle.net/spvkomd1/</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.chk_bx label {
    color: #333;
    font-size: 16px;
    font-weight: 500;
  }
  
  .custom_chk_bx {
    padding-top: 15px;
  }
  
  .chk_bx {
    padding-right: 20px;
  }
  
  
  /* Base for label styling */
  
  .custom_chk_bx [type="checkbox"]:not(:checked),
  .custom_chk_bx [type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
  }
  
  .custom_chk_bx [type="checkbox"]:not(:checked)+label,
  .custom_chk_bx [type="checkbox"]:checked+label {
    position: relative;
    padding-left: 50px;
    cursor: pointer;
    margin-bottom: 0;
  }
  
  
  /* checkbox aspect */
  
  .custom_chk_bx [type="checkbox"]:not(:checked)+label:before,
  .custom_chk_bx [type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 23px;
    height: 24px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb( 192, 209, 218);
    border-radius: 4px;
    box-shadow: none;
  }
  
  
  /* checked mark aspect */
  
  .custom_chk_bx [type="checkbox"]:not(:checked)+label::after,
  .custom_chk_bx [type="checkbox"]:checked+label::after {
    color: #0b8fcf;
    content: "✔";
    font-size: 16px;
    left: 5px;
    line-height: 100%;
    position: absolute;
    top: 5px;
    transition: all 0.2s ease 0s;
  }
  
  
  /* checked mark aspect changes */
  
  .custom_chk_bx [type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0);
  }
  
  .custom_chk_bx [type="checkbox"]:checked+label:after {
    opacity: 1;
    transform: scale(1);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="dtl_row"&gt;
    &lt;div class="custom_chk_bx inpt_blk"&gt;
      &lt;span class="chk_bx"&gt;
         &lt;input type="checkbox" id="test1" name="" value=""&gt;
         &lt;label for="test1"&gt;Compliant With PF(India)&lt;/label&gt;
      &lt;/span&gt;
      &lt;span class="chk_bx"&gt;
         &lt;input type="checkbox" id="test2" name="" value="" checked="checked"&gt;
         &lt;label for="test2"&gt; With ESIC(India)&lt;/label&gt;
      &lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>