I am trying to style ion-segment and want to change background that appears for a second when user touch ion-segment buttons. See the image:
I have tried so far the following options:
ion-segment-button {
--background-activated: tranparent;
background: transparent;
}
.segment-button-activated {
background: transparent;
--background-activated: tranparent;
}
.segment-button-checked {
background: transparent;
--background-activated: tranparent;
}
But nothing actually works.
Can please somebody help to find the right way to achieve it in CSS