Answers for "mat-menu-content class different"

0

mat-menu-content class different

<button mat-button [matMenuTriggerFor]="menu">Menu</button>
    <mat-menu #menu="matMenu" backdropClass="custom__menu">
      <button mat-menu-item>Item 1</button>
      <button mat-menu-item>Item 2</button>
    </mat-menu>

    .custom__menu + * .cdk-overlay-pane > div.mat-menu-panel > div.mat-menu-content {
     ... // Add whatever styling you want
    }
Posted by: Guest on March-13-2020

Code answers related to "mat-menu-content class different"

Browse Popular Code Answers by Language