title: input type range - how to change thumb color on click
body: <p>click on <code>.dinp</code> here changes its color but I need to change the color of its thumb (circle) instead</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-js lang-js prettyprint-override"><code>$('.dinp').on('click', function(){
      $('.dinp').css('background', '#bbb');
      $(this).css('background', 'red');
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.dinp{
      -webkit-appearance: none;
      appearance: none;
      display:block;
      background:#bbb;
      height:4px;
      margin-top:20px;
      cursor:pointer;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;input type='range' min='-100' max='100' value='0' class='dinp'&gt;
  &lt;input type='range' min='-100' max='100' value='0' class='dinp'&gt;
  &lt;input type='range' min='-100' max='100' value='0' class='dinp'&gt;</code></pre>
  </div>
  </div>
  </p>