@vks_gautam1 wrote:
i am trying this .but it is not showing any effect.
i want title background color in red . and button in red .let currentAlert = this.altctrl.create({ title: "Hello", subTitle: "trying", cssClass:'alertDanger', buttons: ["OK"], }); currentAlert.present();
is there way to add color to title background only
.alertDanger{ background-color: red; color: blue; button{ color: green; }
Posts: 1
Participants: 1