Edit in JSFiddle

:enabled {
    border: 2px solid #6374AB;
}
:disabled {
    border: 2px solid #00cc00;
}
:checked {
    display: inline-block;
    width: 4em;
}
<form id="testForm">
    <input>
    <input type="checkbox">
    <input type="radio" name="test">
    <input type="radio" name="test">
    <input type="submit">
</form>