I have my menu as follows. how i can put a triangle upwards to my dropdown menu.
<button mat-icon-button [matMenuTriggerFor]="appMenu">
<mat-icon>arrow_drop_down</mat-icon>
</button>
<mat-menu #appMenu="matMenu">
<button mat-menu-item [matMenuTriggerFor]="subMenu"><span translate="">header.menu.language</span></button>
</mat-menu>
<mat-menu #subMenu="matMenu">
<button mat-menu-item *ngFor="let language of languages" (click)="setLanguage(language)">{{ language }}</button>
</mat-menu>
Current look
I want
i added the following css and than enclosed mat-menu inside the div with the css but not working.
.arrow-up {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid black;
}