I successfully disabled the background shadow on the Angular Material Accordion in this demonstration by incorporating the following CSS rule:
.mat-expansion-panel:not([class*='mat-elevation-z']) {
box-shadow: none !important;
/* box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%); */
}
This particular type of rule ( [class*= ...]
) is unfamiliar to me. Can you explain its purpose?
I am intrigued and eager to learn about it.