Styling alerts in CSS

hi there,
I’m using several alert elements in my app and want to style them dynamically (which means sass variables aren’t an option).
is there any way of refering to an alert element in a css rule?

-the app is set to ‘ios’ mode
-some of the alertes contain checkboxes

thanks in advance guys :slight_smile:

Did you try to pass cssClass according to: https://ionicframework.com/docs/api/components/alert/AlertController/#advanced

?

You can do whatever you want this way;)

1 Like

Hi, thank you for your answer.

Instead of using the ionic alerts I have created my own now, but thanks :slight_smile: