title: Change Label color on radio selected from css
body: <p>How to change the text for color of a <code>Span</code> if a radio button is checked through css. Below is my code:</p>
  
  <pre><code>&lt;div class="div-box-content"&gt;
      &lt;label data-ng-repeat="addType in addressFormatOptions"&gt;
          &lt;input name="nameAddressType"
                 type="radio"
                 class="radio"
                 value="{{ addType }}"
                 ng-model="exportLablesUserParams.addressFormat" /&gt;
              &lt;span&gt;&lt;/span&gt; {{  addType   }}
       &lt;/label&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>css are as :</p>
  
  <pre><code>.div-box-content {
      width: 100%;
  }
  label {
      margin-right: 25px;
      font-weight: bold;
      font-size: 12px;
      color: #696969;
  }    
  
  input[type="radio"]:checked + label {
      color: green;
  }
  
  label &gt; input[type=radio]:checked {
      color: green !important;
      background-color: green !important;
  }
  </code></pre>
  
  <p>I am not understanding what mistake i am doing. Please check the css and my code and let me know about my mistake and if possible please correct it.
  Thanks in advance.</p>