2017-11-02 css Styling radio buttons Styling radio button labels based on the state and disabled without the need for class name or id. 1234567891011121314151617<style>input[type="radio"] + label { color: gray;}input[type="radio"][disabled="disabled"] + label { color: red;}input[type="radio"]:checked + label { color: green;}</style><input name="test" type="radio" value="1" id="a"><label for="a">AAAA</label><input name="test" type="radio" value="2" id="b" disabled="disabled"><label for="b">BBBB</label><input name="test" type="radio" value="3" id="c" checked="checked"><label for="c">CCCC</label> Live example AAAA BBBB CCCC newer Ubuntu 17 hibernate older Export base field and instance for use in Drupal 7 install