Hi Friends i need to customize a ToasterController using css class
Here is my code
presentToast(message) {
let toast = this.toastCtrl.create({
message: message,
// duration: 3000,
position: ‘middle’,
cssClass:‘Toast’,
showCloseButton: true,
closeButtonText: ‘X’,
dismissOnPageChange: true
});
toast.onDidDismiss(() => {
});
toast.present();
}
and my css class is
.Toast{
> div{
/background-color:#32db64!important;/
color:#32db64!important;
}
}
in this code while i am using background-color property its working fine.
but color is not working. i need change the font color of the toast controller