How can i do a loading without box-shadow in Ionic 4?

This is my code:

In JS:

this.loader = await this.loadingCtrl.create({
cssClass: ‘custom-class’
});
await this.loader.present();

In CSS:
.custom-class {
–box-shadow: none;
}

But it doesnt work