title: CSS - Selector of label for type?
body: <p>I'm using <a href="https://stackoverflow.com/questions/2599627/how-to-select-label-for-email-in-css">this post</a> explaining how to add a selector of a label for a given element. However, I'd like to use it to select all labels for a given type (specifically, the type radio). Trying:</p>
  
  <pre><code>label[for=input[type="radio"]] {
      /* Styles */
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>label[for=[type="radio"]] {
      /* Styles */
  }
  </code></pre>
  
  <p>does not work and I'm not sure what I'm doing wrong or how to do it right. Can someone explain the solution to me? Thank you much!</p>