I've encountered an issue with my CSS in Ionic...
My goal is to modify the CSS when a radiobutton is clicked, as illustrated below.
[type=radio]:checked + ion-icon {
background-color: $primaryColor;
color: white;
font-size: 45px;
}
The provided CSS code works for regular HTML tags, but in Ionic we use a tag called ion-radio. Is there a method to achieve the same effect using the radio button from Ionic?
ion-radio:checked + ion-icon {
background-color: $primaryColor;
color: white;
font-size: 45px;
}