@distante wrote:
I am migrating an Ionic3 app to Ionic4 and I am having a hard time translating some of the CSS rules there.
For example, in Ionic3 I could style the
:before
or:after
or an<button ion-button>
element withbutton[ion-button]:before
.Now the
<button>
element is inside theShadow DOM
of<ion-button>
and I am not able to put an:before
inside the<button>
. Is this possible with Ionic4 ?
Posts: 4
Participants: 2